From 5067d776c5ff2712c81a97030645d1774fddcf1c Mon Sep 17 00:00:00 2001 From: Natalie Martin Date: Tue, 15 Oct 2024 12:26:30 -0700 Subject: [PATCH] Use `Sentry.browserApiErrorsIntegration` This is the renamed version of the `TryCatchIntegration` that was previously used. See: https://github.com/getsentry/sentry-javascript/pull/10755 --- src/app/app.module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/app.module.ts b/src/app/app.module.ts index cf344c0f1..74fff51f8 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -67,7 +67,7 @@ if (environment.environment !== 'local') { dsn: 'https://5cb2f4943c954624913c336eb10da4c5@o360597.ingest.sentry.io/5285675"', ignoreErrors: ['ResizeObserver loop limit exceeded'], integrations: [ - new Sentry.Integrations.TryCatch({ + Sentry.browserApiErrorsIntegration({ XMLHttpRequest: false, }), ],