Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Improve comment

Manav Rathi6e7e214d0166
diff --git a/apps/photos/sentry.properties b/apps/photos/sentry.properties
index ff16592419..850c6c258e 100644
--- a/apps/photos/sentry.properties
+++ b/apps/photos/sentry.properties
@@ -1,7 +1,5 @@
-# This file is used by the SentryWebpackPlugin to upload sourcemaps.
-#
-# In addition to the configuration specified here, Sentry expects an environment
-# variable named SENTRY_AUTH_TOKEN.
+# This file is used by the SentryWebpackPlugin to upload sourcemaps (if the
+# SENTRY_AUTH_TOKEN environment variable is defined).
defaults.url = https://sentry.ente.io/
defaults.org = ente
diff --git a/packages/shared/sentry/config/sentry.config.base.ts b/packages/shared/sentry/config/sentry.config.base.ts
index ebbe4a265b..eb83743807 100644
--- a/packages/shared/sentry/config/sentry.config.base.ts
+++ b/packages/shared/sentry/config/sentry.config.base.ts
@@ -5,7 +5,7 @@ import { getHasOptedOutOfCrashReports } from '@ente/shared/storage/localStorage/
import { isDevBuild } from '@ente/shared/network/api';
export const initSentry = async (dsn: string) => {
- // Don't initialize Sentry on dev builds
+ // Don't initialize Sentry for dev builds
if (isDevBuild) return;
// Don't initialize Sentry if the user has opted out of crash reporting