-
-
Notifications
You must be signed in to change notification settings - Fork 242
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
Improve HANLDER_INITIALIZING_ERROR so it's more understandable #2749
Comments
Also improve toast messages in developer sidebar and fix a minor styling issues for the script settings. Addresses no. 1 of openhab#2749. Signed-off-by: Florian Hotze <[email protected]>
Also improve toast messages in developer sidebar and fix a minor styling issues for the script settings. Addresses no. 1 of #2749. Signed-off-by: Florian Hotze <[email protected]>
FYI I have just implemented your first suggestion. |
Wrt to the second suggestion: This is openHAB core part, and when I tried to look into it I could not reproduce your described scenario, I don't get that message. If the automation add-on is missing, my rule does not show any error in the UI but only on execution in the log. |
Maybe it behaves differently in the snapshots? I'm on 4.3 M1. What I did to get that error to simulate a not installed add-on was add an inline script action then changed the mimetime to "application/broken". I should have posted my test rule.
Maybe I went about testing what happens when the add-on is not installed in a bad way? |
The problem
When there is a fatal error in a rule it becomes UNINITIALIZED and shows a HANLDER_INITIALIZING_ERROR. The name of this error and the details are not generally understandable or actionable by the average user. For example, if the rule has a Script for a language that doesn't have the add-on installed appears as:
Your suggestion
I've several suggestions:
Your environment
Additional information
The text was updated successfully, but these errors were encountered: