method

retry_stopped

rails latest stable - Class: ActiveJob::Logging::LogSubscriber

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v6.0.0) is shown here.

retry_stopped(event)
public

No documentation available.

# File activejob/lib/active_job/logging.rb, line 105
        def retry_stopped(event)
          job = event.payload[:job]
          ex = event.payload[:error]

          error do
            "Stopped retrying #{job.class} due to a #{ex.class}, which reoccurred on #{job.executions} attempts."
          end
        end