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 GitHub
parent 3d27c0ce52
commit 7447cf329b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -272,7 +272,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: