Skip to content

fix(ga4): never let exceptions bubble to callers#58

Closed
voidus wants to merge 1 commit intojahilldev:mainfrom
voidus:catch-all-errors
Closed

fix(ga4): never let exceptions bubble to callers#58
voidus wants to merge 1 commit intojahilldev:mainfrom
voidus:catch-all-errors

Conversation

@voidus
Copy link

@voidus voidus commented Mar 16, 2025

This avoids applications being broken by issues with tracking. A specific case in which this can happen is if navigator.sendBeacon is undefined.

Closes #56

For a less radical approach, see #57

This avoids applications being broken by issues with tracking.
A specific case in which this can happen is if navigator.sendBeacon is undefined.

Closes jahilldev#56
@jahilldev
Copy link
Owner

Closing in favour of #57

@jahilldev jahilldev closed this Apr 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Check if navigator.sendBeacon is defined before calling it

2 participants