method
retry_stopped
rails latest stable - Class:
ActiveJob::StructuredEventSubscriber
retry_stopped(event)public
No documentation available.
# File activejob/lib/active_job/structured_event_subscriber.rb, line 124
def retry_stopped(event)
job = event.payload[:job]
exception = event.payload[:error]
emit_event("active_job.retry_stopped",
job_class: job.class.name,
job_id: job.job_id,
executions: job.executions,
exception_class: exception.class.name,
exception_message: exception.message
)
end