chore: remove Sentry integration
CI / check (push) Successful in 21s
CI / release (push) Skipped
CI / deploy (push) Successful in 53s

This commit is contained in:
Simo committed 2026-08-01 22:12:31 +02:00
1 parent c7fb37356e
commit 1f4aadb3d7
21 files changed
+53 -1960

No files matched your search

-17
View File
@@ -1,17 +0,0 @@
import * as Sentry from "@sentry/nextjs";
import { redactSentryEvent } from "@/lib/sentry-redact";
const dsn = process.env.NEXT_PUBLIC_SENTRY_DSN;
if (dsn) {
Sentry.init({
dsn,
environment: process.env.NODE_ENV,
release: process.env.NEXT_PUBLIC_APP_VERSION || process.env.APP_VERSION,
tracesSampleRate: process.env.NODE_ENV === "production" ? 0.1 : 1.0,
enabled: process.env.NODE_ENV === "production",
beforeSend: redactSentryEvent,
});
}
export const onRouterTransitionStart = Sentry.captureRouterTransitionStart;