SIGN IN SIGN UP
payloadcms / payload UNCLAIMED

Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.

0 0 496 TypeScript
import * as Sentry from '@sentry/nextjs'
const dsn = process.env.NEXT_PUBLIC_SENTRY_DSN
const enabled = !!dsn
Sentry.init({
dsn,
enabled,
skipOpenTelemetrySetup: true,
tracesSampleRate: 1.0,
})
if (enabled) {
// eslint-disable-next-line no-console
console.log('Sentry inited')
}
export {}