mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00:00
UnifiProtect Change log level from debug to error for connection exceptions in ProtectFlowHandler (#147730)
This commit is contained in:
parent
3d27c0ce52
commit
7447cf329b
@ -272,7 +272,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