From c678ab101ea44d3a4de6b51faa37f4f3edeea9d7 Mon Sep 17 00:00:00 2001 From: Taso Date: Thu, 4 Mar 2021 16:24:42 -0500 Subject: [PATCH] Revert "tweak(phone/sentry): enable only in prod" This reverts commit 1282ba7d40e691a2dd8542c42f6049707bc7e975. --- phone/src/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,