Revert "tweak(phone/sentry): enable only in prod"

This reverts commit 1282ba7d40e691a2dd8542c42f6049707bc7e975.
This commit is contained in:
Taso committed 2021-04-01 14:12:37 -04:00
1 parent c46c75ebee
commit c678ab101e
1 file changed
+2 -2
+2 -2
View File
@@ -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://[email protected]/5581619',
autoSessionTracking: true,