mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 18:27:09 +00:00
Added intent_type to exception log (#9289)
This commit is contained in:
parent
1b5e574a76
commit
54de3d89d1
@ -66,7 +66,7 @@ def async_setup(hass, config):
|
|||||||
yield from intent.async_handle(
|
yield from intent.async_handle(
|
||||||
hass, DOMAIN, intent_type, slots, request['input'])
|
hass, DOMAIN, intent_type, slots, request['input'])
|
||||||
except intent.IntentError:
|
except intent.IntentError:
|
||||||
_LOGGER.exception("Error while handling intent.")
|
_LOGGER.exception("Error while handling intent: %s.", intent_type)
|
||||||
|
|
||||||
yield from hass.components.mqtt.async_subscribe(
|
yield from hass.components.mqtt.async_subscribe(
|
||||||
INTENT_TOPIC, message_received)
|
INTENT_TOPIC, message_received)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user