Method: ActiveJob::LogSubscriber#retry_stopped
- Defined in:
- activejob/lib/active_job/log_subscriber.rb
#retry_stopped(event) ⇒ Object
120 121 122 123 124 125 126 127 |
# File 'activejob/lib/active_job/log_subscriber.rb', line 120 def retry_stopped(event) job = event.payload[:job] ex = event.payload[:error] error do "Stopped retrying #{job.class} (Job ID: #{job.job_id}) due to a #{ex.class} (#{ex.message}), which reoccurred on #{job.executions} attempts." end end |