class ActiveWorker::FailureEvent
Public Class Methods
from_error(thread_root_configuration, error)
click to toggle source
# File lib/active_worker/failure_event.rb, line 5 def self.from_error(thread_root_configuration, error) events = [] thread_root_configuration.configurations_for_events.each do |configuration| events << create_error_from_configuration(configuration,error) unless configuration.completed? end events end