瀏覽代碼

remove debug prop from sentry

Abhinav-grd 4 年之前
父節點
當前提交
472933fffa
共有 2 個文件被更改,包括 0 次插入3 次删除
  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_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

+ 0 - 1
sentry.server.config.js

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