-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
homebridge-edomoticz #23
Comments
Hi @DewGew, I just want to check the project owner, @PatchworkBoy, is happy for this to happen? |
Go for it... 👍 |
If the plugin is misconfigured the following unhanlded exception is raised which kills Homebridge:
Config errors should be caught and logged explaining what the issue is. Everything else looks good 😄 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@oznu any suggestions to fix this issue? |
Extending the try...catch block to cover the part where the error is thrown should do it: https://github.com/PatchworkBoy/homebridge-edomoticz/blob/master/index.js#L107 |
somthing like this maybe:
|
Yeah, maybe log the error with log.error |
Now merged |
Thanks! |
Plugin Details
This is a Homebridge plugin for Domoticz and Homebridge Config UI X Support.
Homebridge Edomoticz
https://github.com/patchworkboy/homebridge-eDomoticz
https://www.npmjs.com/package/homebridge-edomoticz
The text was updated successfully, but these errors were encountered: