Allow errors (like API error) to be logged properly and dealt with #704
salleq
started this conversation in
Feature Request
Replies: 1 comment
-
Ugh - right after I posted this I realised what the catch error node does. I tested it a bit and could actually get BOTH what I wanted:
I get that as this functionality basically exists already, I don't know if it needs to be a feature in this ha websocket plugin. But maybe it could be mentioned in the FAQ? I knew about the error catch node but never really understood what it did until now. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I haven't find such a feature so...
More than a few times I've wanted to catch an error that happens when calling a service, but the only place I can see it is "API error" in the node and in HASS logs.
For example I have a call service node for starting music playback with ytubemusic addon, which fails sometimes for a reason unknown, but even then works after a few tries. I call it with a remote so I may not see the error anywhere, nothing just happens. If there was a way to output that API error, I could just loop the tries until it works instead of staring at my A/V Receiver and thinking "Well....?"
Beta Was this translation helpful? Give feedback.
All reactions