Azure / azure-iot-sdk-node

A Node.js SDK for connecting devices to Microsoft Azure IoT services
https://docs.microsoft.com/en-us/azure/iot-hub/
Other
261 stars 227 forks source link

fix: handle dropped connection failures #1036

Closed BertKleewein closed 3 years ago

YoDaMa commented 3 years ago

So the gist of this draft PR seems to be the code in two places:

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?

BertKleewein commented 3 years ago

Also:


In reply to: 927946348

YoDaMa commented 3 years ago

when it's no longer a draft PR let me know.