Skip to content

Connect, collaborate, and grow with a community of TypeScript developers

chore: update sentry on server to only report errors in production

bautistaaa35b6c9534702
diff --git a/apps/web/sentry.server.config.ts b/apps/web/sentry.server.config.ts
index f3d38b58..b2b8ad7c 100644
--- a/apps/web/sentry.server.config.ts
+++ b/apps/web/sentry.server.config.ts
@@ -12,4 +12,5 @@ Sentry.init({
// Setting this option to true will print useful information to the console while you're setting up Sentry.
debug: false,
+ enabled: process.env.NODE_ENV === 'production',
});