Log lutron_caseta exception on pairing failure (#140776)
parent
49721a541a
commit
ee37b32ca1
|
@ -123,7 +123,8 @@ class LutronCasetaFlowHandler(ConfigFlow, domain=DOMAIN):
|
|||
assets = None
|
||||
try:
|
||||
assets = await async_pair(self.data[CONF_HOST])
|
||||
except (TimeoutError, OSError):
|
||||
except (TimeoutError, OSError) as exc:
|
||||
_LOGGER.debug("Pairing failed", exc_info=exc)
|
||||
errors["base"] = "cannot_connect"
|
||||
|
||||
if not errors:
|
||||
|
|
Loading…
Reference in New Issue