mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 07:07:28 +00:00
UnifiProtect Change log level from debug to error for connection exceptions in ProtectFlowHandler (#147730)
This commit is contained in:
parent
b677ce6c90
commit
b8c19f23f3
@ -274,7 +274,7 @@ class ProtectFlowHandler(ConfigFlow, domain=DOMAIN):
|
|||||||
_LOGGER.debug(ex)
|
_LOGGER.debug(ex)
|
||||||
errors[CONF_PASSWORD] = "invalid_auth"
|
errors[CONF_PASSWORD] = "invalid_auth"
|
||||||
except ClientError as ex:
|
except ClientError as ex:
|
||||||
_LOGGER.debug(ex)
|
_LOGGER.error(ex)
|
||||||
errors["base"] = "cannot_connect"
|
errors["base"] = "cannot_connect"
|
||||||
else:
|
else:
|
||||||
if nvr_data.version < MIN_REQUIRED_PROTECT_V:
|
if nvr_data.version < MIN_REQUIRED_PROTECT_V:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user