module Sidekiq::ExceptionHandler
Public Instance Methods
handle_exception(ex, msg)
click to toggle source
# File lib/sidekiq/configure_notifications/exception_handler.rb, line 7 def handle_exception(ex, msg) if msg['retry_count'].to_i >= msg['log_exceptions_after'].to_i && (msg['skip_log_exceptions'].nil? || msg['skip_log_exceptions'].size == 0 || msg['skip_log_exceptions'].include?(ex.class)) handle_exception_original(ex, msg) end end
Also aliased as: handle_exception_original