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:
parent
b9d9bfe7df
commit
f9f976aa43
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ module Sidekiq
|
||||||
# signals that we created a retry successfully. We can acknowlege the job.
|
# signals that we created a retry successfully. We can acknowlege the job.
|
||||||
ack = true
|
ack = true
|
||||||
e = h.cause || h
|
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
|
raise e
|
||||||
rescue Exception => ex
|
rescue Exception => ex
|
||||||
# Unexpected error! This is very bad and indicates an exception that got past
|
# Unexpected error! This is very bad and indicates an exception that got past
|
||||||
|
|
Loading…
Reference in a new issue