Class: Sidekiq::Squelch::Notifiers::Raven

Inherits:
Object
  • Object
show all
Defined in:
lib/sidekiq/squelch/notifiers/raven.rb

Instance Method Summary collapse

Instance Method Details

#notify(exception, context = {}) ⇒ Object



5
6
7
# File 'lib/sidekiq/squelch/notifiers/raven.rb', line 5

def notify(exception, context = {})
  ::Raven.capture_exception exception, extra: { sidekiq: context }
end