|
@@ -2,13 +2,11 @@ import * as Sentry from '@sentry/nextjs';
|
|
|
|
|
|
const SENTRY_DSN = process.env.NEXT_PUBLIC_SENTRY_DSN ?? 'https://860186db60c54c7fbacfe255124958e8@errors.ente.io/4';
|
|
const SENTRY_DSN = process.env.NEXT_PUBLIC_SENTRY_DSN ?? 'https://860186db60c54c7fbacfe255124958e8@errors.ente.io/4';
|
|
const SENTRY_ENV = process.env.NEXT_PUBLIC_SENTRY_ENV ?? 'development';
|
|
const SENTRY_ENV = process.env.NEXT_PUBLIC_SENTRY_ENV ?? 'development';
|
|
-console.log(SENTRY_ENV);
|
|
|
|
Sentry.init({
|
|
Sentry.init({
|
|
dsn: SENTRY_DSN,
|
|
dsn: SENTRY_DSN,
|
|
enabled: SENTRY_ENV !== 'development',
|
|
enabled: SENTRY_ENV !== 'development',
|
|
release: process.env.SENTRY_RELEASE,
|
|
release: process.env.SENTRY_RELEASE,
|
|
attachStacktrace: true,
|
|
attachStacktrace: true,
|
|
- debug: true,
|
|
|
|
autoSessionTracking: false,
|
|
autoSessionTracking: false,
|
|
// ...
|
|
// ...
|
|
// Note: if you want to override the automatic release value, do not set a
|
|
// Note: if you want to override the automatic release value, do not set a
|