mirror of
https://github.com/home-assistant/core.git
synced 2025-09-11 15:51:47 +02:00
UnifiProtect Change log level from debug to error for connection exceptions in ProtectFlowHandler (#147730)
This commit is contained in:
committed by
Franck Nijhof
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:
|
||||||
|
Reference in New Issue
Block a user