Skip to content

Commit

Permalink
chore(GKE): disable rollbar on enterprise
Browse files Browse the repository at this point in the history
  • Loading branch information
rmehner committed Feb 13, 2018
1 parent 815b8dc commit 875385c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rollbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const Rollbar = require('rollbar')
const env = require('./env')
const pkg = require('../package.json')

const enabled = env.NODE_ENV !== 'development'
const enabled = env.NODE_ENV !== 'development' && !env.IS_ENTERPRISE

if (enabled) {
module.exports = new Rollbar({
Expand Down

0 comments on commit 875385c

Please sign in to comment.