tldraw/sentry.client.config.js
2021-07-02 16:41:46 +01:00

9 lines
246 B
JavaScript

import * as Sentry from '@sentry/nextjs'
const SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN
Sentry.init({
dsn:
SENTRY_DSN ||
'https://d88435642612471d93823489a56ae053@o578706.ingest.sentry.io/5824198',
})