method

retry_stopped

rails latest stable - Class: ActiveJob::StructuredEventSubscriber

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

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