Filter unnecessary sentry css and js errors.

This commit is contained in:
Chris Parsons 2026-03-15 10:24:57 -07:00
parent dc13d99f39
commit 21597ba57b
2 changed files with 8 additions and 0 deletions

View file

@ -9,6 +9,10 @@ Sentry.init({
sendDefaultPii: true,
integrations: [],
tracesSampleRate: 0,
ignoreErrors: [
/No route matches URL ".*\.css"/,
/No route matches URL ".*\.js"/,
],
});
startTransition(() => {

View file

@ -5,4 +5,8 @@ Sentry.init({
enabled: process.env.NODE_ENV === "production",
sendDefaultPii: true,
tracesSampleRate: 0,
ignoreErrors: [
/No route matches URL ".*\.css"/,
/No route matches URL ".*\.js"/,
],
});