summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/raven/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/raven/index.js')
-rw-r--r--app/assets/javascripts/raven/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/raven/index.js b/app/assets/javascripts/raven/index.js
index 3c5656040b9..5325e495815 100644
--- a/app/assets/javascripts/raven/index.js
+++ b/app/assets/javascripts/raven/index.js
@@ -5,7 +5,7 @@ const index = function index() {
sentryDsn: gon.sentry_dsn,
currentUserId: gon.current_user_id,
whitelistUrls: [gon.gitlab_url],
- isProduction: gon.is_production,
+ isProduction: process.env.NODE_ENV,
});
return RavenConfig;