mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 08:47:57 +00:00
Log errors in Intent.async_handle (#119182)
* Log errors in Intent.async_handle * log exception stack trace * Update homeassistant/helpers/intent.py --------- Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
This commit is contained in:
parent
30fab7b807
commit
5f9455e0fd
@ -140,6 +140,7 @@ async def async_handle(
|
||||
except IntentError:
|
||||
raise # bubble up intent related errors
|
||||
except Exception as err:
|
||||
_LOGGER.exception("Error handling %s", intent_type)
|
||||
raise IntentUnexpectedError(f"Error handling {intent_type}") from err
|
||||
return result
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user