Files
klz-cables.com/sentry.server.config.ts

15 lines
360 B
TypeScript

import * as Sentry from '@sentry/nextjs';
const dsn = process.env.SENTRY_DSN;
Sentry.init({
dsn,
enabled: Boolean(dsn),
// Adjust this value in production, or use tracesSampler for greater control
tracesSampleRate: 1,
// Setting this option to true will print useful information to the console while you're setting up Sentry.
debug: false,
});