Files
web/sentry.edge.config.ts
2024-12-19 10:35:20 +00:00

12 lines
344 B
TypeScript

import * as Sentry from "@sentry/nextjs"
import { env } from "./env/server"
Sentry.init({
dsn: "https://fe39c070b4154e2f9cc35f0e5de0aedb@o4508102497206272.ingest.de.sentry.io/4508102500286544",
environment: env.SENTRY_ENVIRONMENT,
enabled: env.SENTRY_ENVIRONMENT !== "development",
tracesSampleRate: env.SENTRY_SERVER_SAMPLERATE,
})