-
Notifications
You must be signed in to change notification settings - Fork 339
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
Heartbeat errors are not propagated / catched #275
Comments
I believe I had a similar issue in my application. The stack trace didn't help, but my application got killed due to unhandled exception/rejection (my app is configured to die if such thing happen). The reason was changeMessageVisibility call that failed. By inspecting the code of sqs-consumer, I believe the reason is that inside the methods I believe adding the |
Issue #275 - Fix visibility timeout error handler
the issue is fixed. Thanks @rafael-pb |
Describe the bug
If the call to
changeVisabilityTimeout
fails, the Promise is rejected but no one notices. Node.js complains about this with anTo Reproduce
Steps to reproduce the behaviour:
Expected behaviour
I'm not sure but it could be an
error
event?I'm willing to provide a fix if we can agree on what's expected.
The text was updated successfully, but these errors were encountered: