-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Que integration can fail #545
Comments
This might fix #545 https://github.com/chanks/que/blob/master/docs/error_handling.md#error-notifications mentions that the job block parameter may be nil for connection failures and similar issues.
This might fix #545 https://github.com/chanks/que/blob/master/docs/error_handling.md#error-notifications mentions that the job block parameter may be nil for connection failures and similar issues.
This might fix #545 https://github.com/chanks/que/blob/master/docs/error_handling.md#error-notifications mentions that the job block parameter may be nil for connection failures and similar issues.
Hi @mikz Would you mind checking if the branch at https://github.com/bugsnag/bugsnag-ruby/tree/tobyhs/check_nil_job_in_que solves your issue? |
I'll try to reproduce it & verify the fix, but it might take a few days. Thanks! |
@tobyhs I can't really reproduce those conditions anymore. It was under extremely high load and Que started getting database timeouts. I can't reproduce that with plain locking the table. But the change looks ok 👍 |
@tobyhs very thoughtful of you, fixed! Thank you. |
Description
Some of my jobs fail because of a statement timeout and bugsnag que integration fails to report that.
Issue
Environment
Error triggered is
PG::QueryCanceled
, which makesQue
to pass a jobnil
to bugsnag.The text was updated successfully, but these errors were encountered: