1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

remove jobstr from the exception context, it adds a lot of noise to the log output and is redundant with :job

This commit is contained in:
Mike Perham 2022-07-14 15:56:22 -07:00
parent b9d9bfe7df
commit f9f976aa43

View file

@ -174,7 +174,7 @@ module Sidekiq
# signals that we created a retry successfully. We can acknowlege the job.
ack = true
e = h.cause || h
handle_exception(e, {context: "Job raised exception", job: job_hash, jobstr: jobstr})
handle_exception(e, {context: "Job raised exception", job: job_hash})
raise e
rescue Exception => ex
# Unexpected error! This is very bad and indicates an exception that got past