⬆️ Upgrade sentry and improve its reliability
This commit is contained in:
12
apps/builder/sentry.client.config.ts
Normal file
12
apps/builder/sentry.client.config.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
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 + '-builder',
|
||||
})
|
||||
Reference in New Issue
Block a user