Class: Raygun::SidekiqReporter

Inherits:
Object
  • Object
show all
Defined in:
lib/raygun/sidekiq.rb

Class Method Summary collapse

Class Method Details

.call(exception, context_hash) ⇒ Object



21
22
23
24
25
26
27
# File 'lib/raygun/sidekiq.rb', line 21

def self.call(exception, context_hash)
  ::Raygun.track_exception(exception,
      custom_data: {
        sidekiq_context: context_hash
      }
    )
end