perf: Allow configuring Sentry:debug (#17420)

This commit is contained in:
Keith Williams authored and GitHub committed 2024-10-31 12:15:07 +00:00
1 parent fee3b73bda
commit 64551a506a
3 files changed
+3

No files matched your search

+1
View File
@@ -1,6 +1,7 @@
import * as Sentry from "@sentry/nextjs";
Sentry.init({
debug: !!process.env.SENTRY_DEBUG,
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
tracesSampleRate: parseFloat(process.env.SENTRY_TRACES_SAMPLE_RATE ?? "0.0") || 0.0,
_experiments: {