♻️ Remove sentry client monitoring in viewer
This commit is contained in:
@ -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,
|
||||
})
|
||||
|
6
apps/viewer/sentry.edge.config.js
Normal file
6
apps/viewer/sentry.edge.config.js
Normal 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',
|
||||
})
|
Reference in New Issue
Block a user