Forráskód Böngészése

remove debug prop from sentry

Abhinav-grd 4 éve
szülő
commit
472933fffa
2 módosított fájl, 0 hozzáadás és 3 törlés
  1. 0 2
      sentry.client.config.js
  2. 0 1
      sentry.server.config.js

+ 0 - 2
sentry.client.config.js

@@ -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_DSN = process.env.NEXT_PUBLIC_SENTRY_DSN ?? 'https://860186db60c54c7fbacfe255124958e8@errors.ente.io/4';
 const SENTRY_ENV = process.env.NEXT_PUBLIC_SENTRY_ENV ?? 'development';
 const SENTRY_ENV = process.env.NEXT_PUBLIC_SENTRY_ENV ?? 'development';
-console.log(SENTRY_ENV);
 Sentry.init({
 Sentry.init({
     dsn: SENTRY_DSN,
     dsn: SENTRY_DSN,
     enabled: SENTRY_ENV !== 'development',
     enabled: SENTRY_ENV !== 'development',
     release: process.env.SENTRY_RELEASE,
     release: process.env.SENTRY_RELEASE,
     attachStacktrace: true,
     attachStacktrace: true,
-    debug: true,
     autoSessionTracking: false,
     autoSessionTracking: false,
     // ...
     // ...
     // 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

+ 0 - 1
sentry.server.config.js

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