From e18f05aba61850bdaaa4256f89161ae82dbe4e0e Mon Sep 17 00:00:00 2001 From: wonderlandpark Date: Fri, 7 May 2021 22:22:29 +0900 Subject: [PATCH] chore: debugging --- sentry.client.config.js | 3 ++- sentry.server.config.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sentry.client.config.js b/sentry.client.config.js index 8587bce..7903834 100644 --- a/sentry.client.config.js +++ b/sentry.client.config.js @@ -8,7 +8,8 @@ const SENTRY_DSN = process.env.NEXT_PUBLIC_SENTRY_DSN Sentry.init({ dsn: SENTRY_DSN, - release: undefined + debug: true, + enabled: process.env.NODE_DEV === 'production' // Note: if you want to override the automatic release value, do not set a // `release` value here - use the environment variable `SENTRY_RELEASE`, so // that it will also get attached to your source maps diff --git a/sentry.server.config.js b/sentry.server.config.js index 0d024cf..949b09d 100644 --- a/sentry.server.config.js +++ b/sentry.server.config.js @@ -8,7 +8,8 @@ const SENTRY_DSN = process.env.SENTRY_DSN Sentry.init({ dsn: SENTRY_DSN, - release: undefined + debug: true, + enabled: process.env.NODE_DEV === 'production' // Note: if you want to override the automatic release value, do not set a // `release` value here - use the environment variable `SENTRY_RELEASE`, so // that it will also get attached to your source maps