Added intent_type to exception log (#9289)

This commit is contained in:
Andreas Jacobsen 2017-09-04 13:40:08 +02:00 committed by Pascal Vizeli
parent 1b5e574a76
commit 54de3d89d1

View File

@ -66,7 +66,7 @@ def async_setup(hass, config):
yield from intent.async_handle(
hass, DOMAIN, intent_type, slots, request['input'])
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(
INTENT_TOPIC, message_received)