Skip to content

Commit ced8607

Browse files
authored
Merge pull request rails#53160 from cbliard/fix_active_job_retry_stopped_log_level
Fix log level of ActiveJob :retry_stopped event
2 parents 2dec02a + a2aff06 commit ced8607

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activejob/lib/active_job/log_subscriber.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def retry_stopped(event)
125125
"Stopped retrying #{job.class} (Job ID: #{job.job_id}) due to a #{ex.class} (#{ex.message}), which reoccurred on #{job.executions} attempts."
126126
end
127127
end
128-
subscribe_log_level :enqueue_retry, :error
128+
subscribe_log_level :retry_stopped, :error
129129

130130
def discard(event)
131131
job = event.payload[:job]

0 commit comments

Comments
 (0)