Closed BertKleewein closed 3 years ago
Also:
Error
objects were being returned. Changes made to amqp_cbs.ts
to pass the errors up, and sender_link detached._on_enter
changed to return ServiceUnavailableError
as a fallback error for detached links (was Error
, which is not "retryable")In reply to: 927946348
when it's no longer a draft PR let me know.
So the gist of this draft PR seems to be the code in two places:
ServiceUnavailableError
andNotConnectedError's
should not be packaged inside another Error object.In both cases these are bugs in our handling of RHEA errors for dropped connections, and we want to just expose those errors to the user, since there doesn't seem to be any other logic being altered here.
Am I missing something?