diff --git a/app/entry.client.tsx b/app/entry.client.tsx index 24fdcdc..679b1a9 100644 --- a/app/entry.client.tsx +++ b/app/entry.client.tsx @@ -9,6 +9,10 @@ Sentry.init({ sendDefaultPii: true, integrations: [], tracesSampleRate: 0, + ignoreErrors: [ + /No route matches URL ".*\.css"/, + /No route matches URL ".*\.js"/, + ], }); startTransition(() => { diff --git a/instrument.server.mjs b/instrument.server.mjs index 3f60506..9159559 100644 --- a/instrument.server.mjs +++ b/instrument.server.mjs @@ -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"/, + ], }); \ No newline at end of file