diff --git a/sentry.client.config.js b/sentry.client.config.js index 1745373..8587bce 100644 --- a/sentry.client.config.js +++ b/sentry.client.config.js @@ -8,6 +8,7 @@ const SENTRY_DSN = process.env.NEXT_PUBLIC_SENTRY_DSN Sentry.init({ dsn: SENTRY_DSN, + release: undefined // 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 c49a92c..0d024cf 100644 --- a/sentry.server.config.js +++ b/sentry.server.config.js @@ -7,7 +7,8 @@ import * as Sentry from '@sentry/nextjs' const SENTRY_DSN = process.env.SENTRY_DSN Sentry.init({ - dsn: SENTRY_DSN + dsn: SENTRY_DSN, + release: undefined // 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