diff --git a/phone/src/index.tsx b/phone/src/index.tsx index 8899b52..a755ef6 100644 --- a/phone/src/index.tsx +++ b/phone/src/index.tsx @@ -16,8 +16,8 @@ import updateLocale from 'dayjs/plugin/updateLocale'; dayjs.extend(relativeTime); dayjs.extend(updateLocale); -// Enable Sentry when config setting is true and when in prod -if (PhoneConfig.SentryErrorMetrics && process.env.NODE_ENV !== 'development') { +// Enable Sentry when config setting is true +if (PhoneConfig.SentryErrorMetrics) { Sentry.init({ dsn: 'https://71fff4e8f11543fa8dbe7acd0f94fb5d@o478949.ingest.sentry.io/5581619', autoSessionTracking: true,