Class: Alchemy::ErrorTracking::AppsignalHandler

Inherits:
BaseHandler
  • Object
show all
Defined in:
lib/alchemy/error_tracking/appsignal_handler.rb

Class Method Summary collapse

Class Method Details

.call(exception) ⇒ Object



8
9
10
11
12
# File 'lib/alchemy/error_tracking/appsignal_handler.rb', line 8

def self.call(exception)
  return if Rails.env.local?

  ::Appsignal.report_error(exception)
end