Hangfire icon indicating copy to clipboard operation
Hangfire copied to clipboard

Feature request: include queue name in exception message "Failed to process the job..."

Open rjk opened this issue 2 years ago • 0 comments

When I released a new version of my own software I didn't clean up old jobs properly and got messages like this in the logs:

Failed to process the job '1138129': an exception occurred. Retry attempt 3 of 10 will be performed in 00:00:31.

I understand why this is happening and how to fix it, but it'd be helpful if the queue name could be included in this message, e.g.

Failed to process the job '1138129' in queue 'tenant_foo': an exception occurred. Retry attempt 3 of 10 will be performed in 00:00:31.

rjk avatar Apr 08 '22 09:04 rjk