Remove redundant websocket_api exception handler (#104727)

This commit is contained in:
Jan Bouwhuis
2023-11-29 16:56:26 +01:00
committed by GitHub
parent 4bf88b1690
commit 47426a3ddc

View File

@ -794,9 +794,6 @@ async def handle_execute_script(
translation_placeholders=err.translation_placeholders,
)
return
except Exception as exc: # pylint: disable=broad-except
connection.async_handle_exception(msg, exc)
return
connection.send_result(
msg["id"],
{