class Eventboss::ErrorHandlers::Airbrake
Public Instance Methods
call(exception, context = {})
click to toggle source
# File lib/eventboss/error_handlers/airbrake.rb, line 4 def call(exception, context = {}) ::Airbrake.notify(exception) do |notice| notice[:context][:component] = 'eventboss' notice[:context][:action] = context[:processor].class.to_s if context[:processor] notice[:context].merge!(context) end end