mirror of
https://github.com/koreanbots/core.git
synced 2025-12-15 14:10:22 +00:00
fix: sentry disabled
This commit is contained in:
parent
63f662bc60
commit
540d596c25
@ -9,7 +9,7 @@ const SENTRY_DSN = process.env.NEXT_PUBLIC_SENTRY_DSN
|
|||||||
Sentry.init({
|
Sentry.init({
|
||||||
dsn: SENTRY_DSN,
|
dsn: SENTRY_DSN,
|
||||||
debug: true,
|
debug: true,
|
||||||
enabled: process.env.NODE_DEV === 'production'
|
enabled: process.env.NODE_ENV === 'production'
|
||||||
// Note: if you want to override the automatic release value, do not set a
|
// Note: if you want to override the automatic release value, do not set a
|
||||||
// `release` value here - use the environment variable `SENTRY_RELEASE`, so
|
// `release` value here - use the environment variable `SENTRY_RELEASE`, so
|
||||||
// that it will also get attached to your source maps
|
// that it will also get attached to your source maps
|
||||||
|
|||||||
@ -9,7 +9,7 @@ const SENTRY_DSN = process.env.SENTRY_DSN
|
|||||||
Sentry.init({
|
Sentry.init({
|
||||||
dsn: SENTRY_DSN,
|
dsn: SENTRY_DSN,
|
||||||
debug: true,
|
debug: true,
|
||||||
enabled: process.env.NODE_DEV === 'production'
|
enabled: process.env.NODE_ENV=== 'production'
|
||||||
// Note: if you want to override the automatic release value, do not set a
|
// Note: if you want to override the automatic release value, do not set a
|
||||||
// `release` value here - use the environment variable `SENTRY_RELEASE`, so
|
// `release` value here - use the environment variable `SENTRY_RELEASE`, so
|
||||||
// that it will also get attached to your source maps
|
// that it will also get attached to your source maps
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user