From e701b58cb3f331a6e76ce366d73003e4015a9a71 Mon Sep 17 00:00:00 2001 From: Matt Lewis Date: Tue, 19 Nov 2024 18:16:37 -0700 Subject: [PATCH] wip --- web/src/lib/sentry.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/src/lib/sentry.ts b/web/src/lib/sentry.ts index a0f0099..8d5dea7 100644 --- a/web/src/lib/sentry.ts +++ b/web/src/lib/sentry.ts @@ -6,6 +6,8 @@ let environment = 'development' // HACK: I think this helps the build rewrite find the env var const SENTRY_DSN = process.env.SENTRY_DSN +console.log({ env: process.env }) + if (typeof process === 'undefined' || !SENTRY_DSN) { console.error( 'Missing SENTRY_DSN environment variable. Did you forget to add it to ' +