UnifiProtect Change log level from debug to error for connection exceptions in ProtectFlowHandler (#147730)

This commit is contained in:
Raphael Hehl 2025-07-02 14:57:46 +02:00 committed by Franck Nijhof
parent b677ce6c90
commit b8c19f23f3
No known key found for this signature in database
GPG Key ID: AB33ADACE7101952

View File

@ -274,7 +274,7 @@ class ProtectFlowHandler(ConfigFlow, domain=DOMAIN):
_LOGGER.debug(ex)
errors[CONF_PASSWORD] = "invalid_auth"
except ClientError as ex:
_LOGGER.debug(ex)
_LOGGER.error(ex)
errors["base"] = "cannot_connect"
else:
if nvr_data.version < MIN_REQUIRED_PROTECT_V: