Skip to content

Commit

Permalink
setting flags to disable BUGSNAG
Browse files Browse the repository at this point in the history
  • Loading branch information
Oreoluwa Akinniranye committed Jun 10, 2016
1 parent 5de7db4 commit 2e2a379
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/initializers/bugsnag.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
Bugsnag.configure do |config|
config.api_key = ENV['BUGSNAG_API_KEY']
config.auto_notify = begin
if ENV['NOTIFY_BUG_SNAG'] == 'true'
true
else
false
end
end
end

0 comments on commit 2e2a379

Please sign in to comment.