class Sidekiq::Haron::ExceptionLogger
Public Class Methods
install()
click to toggle source
# File lib/sidekiq/haron/exception_logger.rb, line 6 def self.install Sidekiq.error_handlers.delete_if{|eh| eh.is_a? Sidekiq::ExceptionHandler::Logger } Sidekiq.error_handlers.unshift Sidekiq::Haron::ExceptionLogger.new end
Public Instance Methods
call(ex, ctxHash)
click to toggle source
Calls superclass method
# File lib/sidekiq/haron/exception_logger.rb, line 11 def call(ex, ctxHash) jid = ctxHash.present? && ctxHash[:job]['jid'] Sidekiq::Haron.transmitter.load(jid) if jid.present? Sidekiq::Haron.transmitter.tagged{ super(ex, ctxHash) } end