Skip to content

Commit

Permalink
Only run sentry/raven in production
Browse files Browse the repository at this point in the history
  • Loading branch information
Rik Smith-Unna committed Jun 28, 2017
1 parent 04f7136 commit c5f01be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/client/index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
require('./lib/raven')()
if (!process.env['SCIENCEFAIR_DEVMODE']) require('./lib/raven')()
require('./run.js')
2 changes: 1 addition & 1 deletion app/index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
require('./client/lib/raven')()
if (!process.env['SCIENCEFAIR_DEVMODE']) require('./client/lib/raven')()
require('./run.js')

0 comments on commit c5f01be

Please sign in to comment.