fdegier / homebridge-jablotron-alarm

Homebridge plugin for connecting Jablotron JA-100 alarm systems to Homekit.
The Unlicense
26 stars 5 forks source link

When error callback is not passed, lets log it and ignore it. #11

Closed vladimir-aubrecht closed 5 years ago

vladimir-aubrecht commented 5 years ago

There is only one scenario when error callback is not passed and that is the case of fetching of sessionId. Possible improvement could be adding of retry logic, but not sure if it worth it ... (in this case latency will be too high anyway and there is chance there HomeBridge will timeout it before it will finish ...)