Move SENTRY_DSN to secrets (#8096)

* Move SENTRY_DSN to secrets

* Disable without DSN

* Add to secondary build in android ci
This commit is contained in:
Eric Bailey
2025-05-27 13:25:30 -05:00
committed by GitHub
parent 0bb0a7616e
commit df2f62e94d
6 changed files with 10 additions and 7 deletions
+2 -2
View File
@@ -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,