swissmanu / harmonyhubjs-client

A Node.JS library which allows you to interact with your Logitech Harmony Hub.
https://github.com/swissmanu/harmonyhubjs-client
MIT License
155 stars 42 forks source link

Expose Errors during Authentication properly #19

Open swissmanu opened 8 years ago

swissmanu commented 8 years ago

As discovered here by @jhakonen in https://github.com/swissmanu/harmonyhubjs-client/commit/777cfa79e029f8b1ac8b8b5377fce00f1b9df47c#commitcomment-15226112, provide a proper error handling during the first encounter with the potential hub.

pponce commented 7 years ago

First i want to say thanks for working on this project! I wish i had the skills to contribute. Any plans in the works to try and resolve this issue?
I think this error is causing homebridge to crash when used with the homebridge-harmonyhub plugin. https://github.com/KraigM/homebridge-harmonyhub/issues/61