Bugsnag.configure do |config|
    config.api_key = Rails.application.config.bugsnag_key
    config.use_ssl = false
    config.notify_release_stages = Rails.application.config.bugsnag_notify_release_stages
    config.auto_notify = true
    config.app_version = JamWeb::VERSION
end

EventMachine.error_handler { |e|
  #Bugsnag.notify(e)
}
