2
0

♻️ Remove sentry client monitoring in viewer

This commit is contained in:
Baptiste Arnaud
2023-10-07 07:58:40 +02:00
parent 877a58dac2
commit 073654e1e0
2 changed files with 7 additions and 8 deletions

View File

@ -1,12 +1,5 @@
import * as Sentry from '@sentry/nextjs'
Sentry.init({
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
ignoreErrors: [
'ResizeObserver loop limit exceeded',
'ResizeObserver loop completed with undelivered notifications.',
'ResizeObserver is not defined',
"Can't find variable: ResizeObserver",
],
release: process.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_SHA + '-viewer',
dsn: undefined,
})

View File

@ -0,0 +1,6 @@
import * as Sentry from '@sentry/nextjs'
Sentry.init({
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
release: process.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_SHA + '-viewer',
})