Skip to content

Commit

Permalink
Update Sentry & disable session tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
pimterry committed Oct 30, 2024
1 parent d5f6a61 commit dea838d
Show file tree
Hide file tree
Showing 3 changed files with 121 additions and 147 deletions.
265 changes: 119 additions & 146 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@open-rpc/meta-schema": "^1.14.2",
"@phosphor-icons/react": "^2.1.5",
"@reach/router": "^1.2.1",
"@sentry/browser": "^7.112.2",
"@sentry/browser": "^8.35.0",
"@sentry/webpack-plugin": "^2.16.1",
"@types/auth0-js": "^8.11.8",
"@types/auth0-lock": "^11.4.10",
Expand Down
1 change: 1 addition & 0 deletions src/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export function initSentry(dsn: string | undefined) {
'ResizeObserver loop limit exceeded', // No visible effect: https://stackoverflow.com/a/50387233/68051
'ResizeObserver loop completed with undelivered notifications.'
],
autoSessionTracking: false, // Don't send requests for every session (URL change)
integrations: [
Sentry.dedupeIntegration(),
Sentry.extraErrorDataIntegration(),
Expand Down

0 comments on commit dea838d

Please sign in to comment.