mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 14:38:45 +00:00
Revert "tweak(phone/sentry): enable only in prod"
This reverts commit 1282ba7d40e691a2dd8542c42f6049707bc7e975.
This commit is contained in:
1 parent
c46c75ebee
commit
c678ab101e
1 file changed
+2
-2
+2
-2
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user