🔧 Explicitly add Sentry release sha
This commit is contained in:
@@ -7,6 +7,7 @@ import * as Sentry from '@sentry/nextjs'
|
|||||||
Sentry.init({
|
Sentry.init({
|
||||||
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
|
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
|
||||||
ignoreErrors: ['ResizeObserver loop limit exceeded'],
|
ignoreErrors: ['ResizeObserver loop limit exceeded'],
|
||||||
|
release: process.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_SHA,
|
||||||
beforeBreadcrumb(breadcrumb, hint) {
|
beforeBreadcrumb(breadcrumb, hint) {
|
||||||
try {
|
try {
|
||||||
if (breadcrumb.category?.startsWith('ui')) {
|
if (breadcrumb.category?.startsWith('ui')) {
|
||||||
|
|||||||
@@ -7,4 +7,5 @@ import * as Sentry from '@sentry/nextjs'
|
|||||||
Sentry.init({
|
Sentry.init({
|
||||||
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
|
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
|
||||||
ignoreErrors: ['ResizeObserver loop limit exceeded'],
|
ignoreErrors: ['ResizeObserver loop limit exceeded'],
|
||||||
|
release: process.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_SHA,
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -12,4 +12,5 @@ Sentry.init({
|
|||||||
'ResizeObserver is not defined',
|
'ResizeObserver is not defined',
|
||||||
"Can't find variable: ResizeObserver",
|
"Can't find variable: ResizeObserver",
|
||||||
],
|
],
|
||||||
|
release: process.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_SHA,
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -12,4 +12,5 @@ Sentry.init({
|
|||||||
'ResizeObserver is not defined',
|
'ResizeObserver is not defined',
|
||||||
"Can't find variable: ResizeObserver",
|
"Can't find variable: ResizeObserver",
|
||||||
],
|
],
|
||||||
|
release: process.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_SHA,
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user