method

run_after_discard_procs

Importance_0
v8.1.1 - Show latest stable - 0 notes - Class: Exceptions
run_after_discard_procs(exception) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activejob/lib/active_job/exceptions.rb, line 206
      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
Register or log in to add new notes.