Improve comment

This commit is contained in:
Manav Rathi 2024-02-13 13:12:10 +05:30
parent c2523c695d
commit 6e7e214d01
2 changed files with 3 additions and 5 deletions

View file

@ -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

View file

@ -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