Class: Sidekiq::Haron::ExceptionLogger
- Inherits:
-
Object
- Object
- Sidekiq::Haron::ExceptionLogger
- Defined in:
- lib/sidekiq/haron/exception_logger.rb
Instance Method Summary collapse
Instance Method Details
#call(ex, ctx_hash, config) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/sidekiq/haron/exception_logger.rb', line 5 def call(ex, ctx_hash, config) jid = ctx_hash.present? && ctx_hash[:job]['jid'] Sidekiq::Haron.transmitter.load(jid) if jid.present? Sidekiq::Haron.transmitter.tagged{ Sidekiq.logger.warn ex. } end |