📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
NODE_ENV: getOrThrow -> get
Blue Mousee71018f86581
diff --git a/apps/production/src/main.ts b/apps/production/src/main.tsindex 3486a7260..d97e5fcc1 100644--- a/apps/production/src/main.ts+++ b/apps/production/src/main.ts@@ -19,8 +19,7 @@ async function bootstrap() {const isSentryEnabled = configService.getOrThrow<boolean>('SENTRY_ENABLED')if (isSentryEnabled) {- const isProduction =- configService.getOrThrow<string>('NODE_ENV') === 'production'+ const isProduction = configService.get<string>('NODE_ENV') === 'production'Sentry.init({dsn: configService.get<string>('SENTRY_DSN'),