7 8 9 10 11
# File 'lib/sidekiq/exception_handler.rb', line 7 def call(ex, ctxHash) Sidekiq.logger.warn(ctxHash) if !ctxHash.empty? Sidekiq.logger.warn "#{ex.class.name}: #{ex.message}" Sidekiq.logger.warn ex.backtrace.join("\n") unless ex.backtrace.nil? end