swissmanu / harmonyhubjs-discover

A Node.JS library which lookups available Logitech Harmony hubs in the local network.
MIT License
23 stars 9 forks source link

Listen for error events on all established connection, because they w… #9

Open mikedeboer opened 6 years ago

mikedeboer commented 6 years ago

…ill be thrown otherwise.

Thrown errors will terminate the process, which is quite harmful when using this library on always-on devices. For the ResponseCollector, we may consider to add proper reconnect handling in the future. That's not implemented here.