From 118c29e5c287c2e1befe553915ed2b4935458406 Mon Sep 17 00:00:00 2001 From: Carlos Valente <34649812+cpvalente@users.noreply.github.com> Date: Fri, 15 Mar 2024 16:13:26 +0100 Subject: [PATCH] refactor: filter sentry errors (#816) --- apps/client/src/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/index.tsx b/apps/client/src/index.tsx index 71385a349..dedd9d058 100644 --- a/apps/client/src/index.tsx +++ b/apps/client/src/index.tsx @@ -42,7 +42,7 @@ Sentry.init({ tracesSampleRate: 0.3, release: ONTIME_VERSION, enabled: import.meta.env.PROD, - ignoreErrors: [...sentryRecommendedIgnore, 'Unable to preload CSS', 'Failed to fetch dynamically imported module'], + ignoreErrors: [...sentryRecommendedIgnore, /Unable to preload CSS/i, /dynamically imported module/i], denyUrls: [/extensions\//i, /^chrome:\/\//i, /^chrome-extension:\/\//i], });