remove debug prop from sentry

This commit is contained in:
Abhinav-grd 2021-06-16 13:57:40 +05:30
parent 87846524b6
commit 472933fffa
2 changed files with 0 additions and 3 deletions

View file

@ -2,13 +2,11 @@ import * as Sentry from '@sentry/nextjs';
const SENTRY_DSN = process.env.NEXT_PUBLIC_SENTRY_DSN ?? 'https://860186db60c54c7fbacfe255124958e8@errors.ente.io/4';
const SENTRY_ENV = process.env.NEXT_PUBLIC_SENTRY_ENV ?? 'development';
console.log(SENTRY_ENV);
Sentry.init({
dsn: SENTRY_DSN,
enabled: SENTRY_ENV !== 'development',
release: process.env.SENTRY_RELEASE,
attachStacktrace: true,
debug: true,
autoSessionTracking: false,
// ...
// Note: if you want to override the automatic release value, do not set a

View file

@ -8,6 +8,5 @@ Sentry.init({
enabled: SENTRY_ENV !== 'development',
environment: SENTRY_ENV,
release: process.env.SENTRY_RELEASE,
debug: true,
autoSessionTracking: false,
});