mirror of
https://github.com/home-assistant/core.git
synced 2025-07-30 18:58:04 +02:00
Always set severity level flag on render_template error events (#99804)
This commit is contained in:
@ -565,7 +565,9 @@ async def handle_render_template(
|
||||
if not report_errors:
|
||||
return
|
||||
connection.send_message(
|
||||
messages.event_message(msg["id"], {"error": str(result)})
|
||||
messages.event_message(
|
||||
msg["id"], {"error": str(result), "level": "ERROR"}
|
||||
)
|
||||
)
|
||||
return
|
||||
|
||||
|
Reference in New Issue
Block a user