Skip to content

Commit

Permalink
Merge pull request rails#53160 from cbliard/fix_active_job_retry_stop…
Browse files Browse the repository at this point in the history
…ped_log_level

Fix log level of ActiveJob :retry_stopped event
  • Loading branch information
kamipo authored Oct 3, 2024
2 parents 2dec02a + a2aff06 commit ced8607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activejob/lib/active_job/log_subscriber.rb
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def retry_stopped(event)
"Stopped retrying #{job.class} (Job ID: #{job.job_id}) due to a #{ex.class} (#{ex.message}), which reoccurred on #{job.executions} attempts."
end
end
subscribe_log_level :enqueue_retry, :error
subscribe_log_level :retry_stopped, :error

def discard(event)
job = event.payload[:job]
Expand Down

0 comments on commit ced8607

Please sign in to comment.