2
0

🔧 Explicitly add Sentry release sha

This commit is contained in:
Baptiste Arnaud
2023-01-05 14:40:44 +01:00
parent de167a8daf
commit 963f887b34
4 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,7 @@ import * as Sentry from '@sentry/nextjs'
Sentry.init({
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
ignoreErrors: ['ResizeObserver loop limit exceeded'],
release: process.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_SHA,
beforeBreadcrumb(breadcrumb, hint) {
try {
if (breadcrumb.category?.startsWith('ui')) {