From 472933fffa7318f40bc8a57969b7b8a273856868 Mon Sep 17 00:00:00 2001 From: Abhinav-grd Date: Wed, 16 Jun 2021 13:57:40 +0530 Subject: [PATCH] remove debug prop from sentry --- sentry.client.config.js | 2 -- sentry.server.config.js | 1 - 2 files changed, 3 deletions(-) diff --git a/sentry.client.config.js b/sentry.client.config.js index 9149ab737..6b1e89086 100644 --- a/sentry.client.config.js +++ b/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 diff --git a/sentry.server.config.js b/sentry.server.config.js index 01a7609e2..33af4278b 100644 --- a/sentry.server.config.js +++ b/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, });