Class: Alchemy::ErrorTracking::BugsnagHandler
- Inherits:
-
BaseHandler
- Object
- BaseHandler
- Alchemy::ErrorTracking::BugsnagHandler
- Defined in:
- lib/alchemy/error_tracking/bugsnag_handler.rb
Class Method Summary collapse
Class Method Details
.call(exception) ⇒ Object
8 9 10 11 12 |
# File 'lib/alchemy/error_tracking/bugsnag_handler.rb', line 8 def self.call(exception) return if ["development", "test"].include?(Rails.env) ::Bugsnag.notify(exception) end |