mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Improve display of errors with no message in script trace (#108735)
This commit is contained in:
@@ -1341,7 +1341,7 @@ async def test_wait_continue_on_timeout(
|
||||
}
|
||||
if continue_on_timeout is False:
|
||||
expected_trace["0"][0]["result"]["timeout"] = True
|
||||
expected_trace["0"][0]["error"] = ""
|
||||
expected_trace["0"][0]["error"] = "TimeoutError"
|
||||
expected_script_execution = "aborted"
|
||||
else:
|
||||
expected_trace["1"] = [{"result": {"event": "test_event", "event_data": {}}}]
|
||||
|
||||
Reference in New Issue
Block a user