All checks were successful
Build & Deploy KLZ Cables / build-and-deploy (push) Successful in 4m48s
14 lines
316 B
TypeScript
14 lines
316 B
TypeScript
import * as Sentry from '@sentry/nextjs';
|
|
|
|
const dsn = process.env.SENTRY_DSN;
|
|
|
|
Sentry.init({
|
|
dsn,
|
|
enabled: Boolean(dsn),
|
|
tracesSampleRate: 0,
|
|
// AdjustingreplaysOnErrorSampleRate to 1.0 to capture 100% of errors with replays if enabled
|
|
replaysOnErrorSampleRate: 1.0,
|
|
replaysSessionSampleRate: 0.1,
|
|
});
|
|
|