2021-06-07 10:45:46 +00:00
|
|
|
import * as Sentry from '@sentry/nextjs';
|
|
|
|
|
2021-06-15 04:46:10 +00:00
|
|
|
const SENTRY_DSN = process.env.SENTRY_DSN ?? 'https://860186db60c54c7fbacfe255124958e8@errors.ente.io/4';
|
|
|
|
const SENTRY_ENV = process.env.SENTRY_ENV ?? 'development';
|
2021-06-07 10:45:46 +00:00
|
|
|
|
|
|
|
Sentry.init({
|
|
|
|
dsn: SENTRY_DSN,
|
2021-06-15 04:46:10 +00:00
|
|
|
environment: SENTRY_ENV,
|
2021-06-10 04:28:29 +00:00
|
|
|
release: process.env.SENTRY_RELEASE,
|
2021-06-15 05:57:10 +00:00
|
|
|
debug: true,
|
|
|
|
autoSessionTracking: false,
|
2021-06-07 10:45:46 +00:00
|
|
|
});
|