Files
gitbook/sentry.client.config.ts
T

15 lines
284 B
TypeScript

import * as Sentry from '@sentry/nextjs';
const dsn = process.env.SENTRY_DSN;
if (dsn) {
Sentry.init({
debug: false,
dsn,
integrations: [],
enableTracing: false,
beforeSendTransaction: () => {
return null;
},
});
}