mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Log lutron_caseta exception on pairing failure (#140776)
This commit is contained in:
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…
x
Reference in New Issue
Block a user