All checks were successful
Build & Deploy KLZ Cables / build-and-deploy (push) Successful in 3m37s
13 lines
246 B
TypeScript
13 lines
246 B
TypeScript
import * as Sentry from '@sentry/nextjs';
|
|
|
|
const dsn = process.env.SENTRY_DSN;
|
|
|
|
Sentry.init({
|
|
dsn,
|
|
enabled: Boolean(dsn),
|
|
tracesSampleRate: 0,
|
|
// Ensure 500 errors are always captured
|
|
debug: process.env.NODE_ENV === 'development',
|
|
});
|
|
|