Closed florian-h05 closed 2 years ago
I would expect that the logged message includes a detailed error message like the following:
org.openhab.core.items.ItemNotFoundException: Item 'Aussenlicht' could not be found in the item registry
When a JSRule run failes, a message like that is logged:
2022-05-16 22:31:24.256 [ERROR] [e.automation.internal.RuleEngineImpl] - Failed to execute rule 'Test-Rule-2c1e38ee-dec4-432f-b0ab-cd3192361c04': Fail to execute action: 1
I think I already have some solution, but this required additional testing. I will soon open a PR.
items.getItem()
Expected Behavior
I would expect that the logged message includes a detailed error message like the following:
Current Behavior
When a JSRule run failes, a message like that is logged:
Possible Solution
I think I already have some solution, but this required additional testing. I will soon open a PR.
Steps to Reproduce (for Bugs)
items.getItem()
on a non existing Item.Your Environment