Class: Opbeat::Integrations::Sidekiq
- Inherits:
-
Object
- Object
- Opbeat::Integrations::Sidekiq
- Defined in:
- lib/opbeat/integrations/sidekiq.rb
Instance Method Summary collapse
Instance Method Details
#call(worker, msg, queue) ⇒ Object
10 11 12 13 14 15 16 17 18 |
# File 'lib/opbeat/integrations/sidekiq.rb', line 10 def call(worker, msg, queue) begin yield rescue Exception => ex raise ex if [Interrupt, SystemExit, SignalException].include? ex.class ::Opbeat.captureException(ex) raise end end |