sentry
All checks were successful
Build & Deploy KLZ Cables / build-and-deploy (push) Successful in 3m37s
All checks were successful
Build & Deploy KLZ Cables / build-and-deploy (push) Successful in 3m37s
This commit is contained in:
@@ -6,5 +6,10 @@ Sentry.init({
|
||||
dsn,
|
||||
enabled: Boolean(dsn),
|
||||
tracesSampleRate: 0,
|
||||
// Ensure 500 errors are always captured
|
||||
debug: process.env.NODE_ENV === 'development',
|
||||
// AdjustingreplaysOnErrorSampleRate to 1.0 to capture 100% of errors with replays if enabled
|
||||
replaysOnErrorSampleRate: 1.0,
|
||||
replaysSessionSampleRate: 0.1,
|
||||
});
|
||||
|
||||
|
||||
@@ -6,5 +6,7 @@ Sentry.init({
|
||||
dsn,
|
||||
enabled: Boolean(dsn),
|
||||
tracesSampleRate: 0,
|
||||
// Ensure 500 errors are always captured
|
||||
debug: process.env.NODE_ENV === 'development',
|
||||
});
|
||||
|
||||
|
||||
@@ -6,5 +6,9 @@ Sentry.init({
|
||||
dsn,
|
||||
enabled: Boolean(dsn),
|
||||
tracesSampleRate: 0,
|
||||
// Ensure 500 errors are always captured
|
||||
// Next.js 14+ with App Router handles many errors automatically,
|
||||
// but we want to be explicit about capturing all unhandled exceptions.
|
||||
debug: process.env.NODE_ENV === 'development',
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user