diff options
author | Eric Bailey <git@esb.lol> | 2025-05-27 13:25:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-27 13:25:30 -0500 |
commit | df2f62e94ddee0b13ae48859617473f1905ec792 (patch) | |
tree | 99179d5191962c91abd077ecc80051c436755ebf /src/logger | |
parent | 0bb0a7616eee9825013b3735d2433bb48161c872 (diff) | |
download | voidsky-df2f62e94ddee0b13ae48859617473f1905ec792.tar.zst |
Move SENTRY_DSN to secrets (#8096)
* Move SENTRY_DSN to secrets * Disable without DSN * Add to secondary build in android ci
Diffstat (limited to 'src/logger')
-rw-r--r-- | src/logger/sentry/setup/index.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/logger/sentry/setup/index.ts b/src/logger/sentry/setup/index.ts index d6e1c320c..6437d749a 100644 --- a/src/logger/sentry/setup/index.ts +++ b/src/logger/sentry/setup/index.ts @@ -20,9 +20,9 @@ const release = process.env.SENTRY_RELEASE || pkgJson.version const dist = process.env.SENTRY_DIST || 'dev' init({ - enabled: !__DEV__, + enabled: !__DEV__ && !!process.env.SENTRY_DSN, autoSessionTracking: false, - dsn: 'https://8fb55ba4807fca137eedfc8403ee27ba@o4505071687041024.ingest.us.sentry.io/4508807082278912', + dsn: process.env.SENTRY_DSN, debug: false, // If `true`, Sentry will try to print out useful debugging information if something goes wrong with sending the event. Set it to `false` in production environment: process.env.NODE_ENV, dist, |