Describe the bug
We are still seeing unhandled promise rejections from OperationTimeoutError when an AMQP session close times out causing application crashes. Similar to #35342, the calling code is wrapped in try/catch and the issue seems to be with the library.
OperationTimeoutError: Unable to close the amqp session local-1_remote-1_connection-2 due to operation timeout.
at Timeout.actionAfterTimeout (/usr/src/app/node_modules/.pnpm/rhea-promise@3.0.3/node_modules/rhea-promise/dist/lib/session.js:175:32)
at listOnTimeout (node:internal/timers:605:17)
at process.processTimers (node:internal/timers:541:7)
The fix for #35342 added a try/catch around several receiver.close() calls, but it looks like two call sites were potentially missed in:
To Reproduce
N/A. We are unable to consistently reproduce the issue
Additional context
Also encountered the issue in version 7.9.5 of @azure/service-bus
Describe the bug
We are still seeing unhandled promise rejections from
OperationTimeoutErrorwhen an AMQP session close times out causing application crashes. Similar to #35342, the calling code is wrapped in try/catch and the issue seems to be with the library.The fix for #35342 added a try/catch around several
receiver.close()calls, but it looks like two call sites were potentially missed in:To Reproduce
N/A. We are unable to consistently reproduce the issue
Additional context
Also encountered the issue in version
7.9.5of@azure/service-bus