Skip to content

Instantly share code, notes, and snippets.

@milk1000cc
Created October 9, 2016 02:34
Show Gist options
  • Save milk1000cc/11822ff03eb2c56b5acefde9c3cdea28 to your computer and use it in GitHub Desktop.
Save milk1000cc/11822ff03eb2c56b5acefde9c3cdea28 to your computer and use it in GitHub Desktop.
Bugsnag + Rails example
Bugsnag.configure do |config|
config.api_key = ENV['BUGSNAG_API_KEY']
if Rails.env.development? || Rails.env.test?
config.auto_notify = false
end
config.ignore_classes = [] if config.app_type == 'sidekiq'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment