Filter unnecessary sentry css and js errors.
This commit is contained in:
parent
dc13d99f39
commit
21597ba57b
2 changed files with 8 additions and 0 deletions
|
|
@ -9,6 +9,10 @@ Sentry.init({
|
|||
sendDefaultPii: true,
|
||||
integrations: [],
|
||||
tracesSampleRate: 0,
|
||||
ignoreErrors: [
|
||||
/No route matches URL ".*\.css"/,
|
||||
/No route matches URL ".*\.js"/,
|
||||
],
|
||||
});
|
||||
|
||||
startTransition(() => {
|
||||
|
|
|
|||
|
|
@ -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"/,
|
||||
],
|
||||
});
|
||||
Loading…
Add table
Reference in a new issue