method
run_after_discard_procs
rails latest stable - Class:
ActiveJob::Exceptions
run_after_discard_procs(exception)private
No documentation available.
# File activejob/lib/active_job/exceptions.rb, line 202
def run_after_discard_procs(exception)
exceptions = []
after_discard_procs.each do |blk|
instance_exec(self, exception, &blk)
rescue StandardError => e
exceptions << e
end
raise exceptions.last unless exceptions.empty?
end