Skip to content

Commit

Permalink
Use Sentry.browserApiErrorsIntegration
Browse files Browse the repository at this point in the history
This is the renamed version of the `TryCatchIntegration` that was
previously used.

See: getsentry/sentry-javascript#10755
  • Loading branch information
meisekimiu committed Oct 16, 2024
1 parent 1fcc1c6 commit 5067d77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ if (environment.environment !== 'local') {
dsn: 'https://[email protected]/5285675"',
ignoreErrors: ['ResizeObserver loop limit exceeded'],
integrations: [
new Sentry.Integrations.TryCatch({
Sentry.browserApiErrorsIntegration({
XMLHttpRequest: false,
}),
],
Expand Down

0 comments on commit 5067d77

Please sign in to comment.