method
run_after_discard_procs
v7.2.3 -
Show latest stable
- Class:
ActiveJob::Exceptions
run_after_discard_procs(exception)private
No documentation available.
# File activejob/lib/active_job/exceptions.rb, line 197
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