Skip to content

Commit

Permalink
Merge pull request #108 from zhishi-project/reasign_tags
Browse files Browse the repository at this point in the history
setting flags to disable BUGSNAG
  • Loading branch information
Oreoluwa authored Jun 10, 2016
2 parents cf89e53 + 2e2a379 commit 7eaa86e
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 7eaa86e

Please sign in to comment.