feat: add GlitchTip error monitoring integration
This commit is contained in:
7
apps/web/sentry.server.config.ts
Normal file
7
apps/web/sentry.server.config.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import * as Sentry from "@sentry/nextjs";
|
||||
|
||||
Sentry.init({
|
||||
dsn: process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN,
|
||||
tracesSampleRate: process.env.NODE_ENV === "development" ? 1.0 : 0.1,
|
||||
debug: false,
|
||||
});
|
||||
Reference in New Issue
Block a user