Reduce error trace in Risco config flow to debug (#82730)

pull/82739/head
On Freund 2022-11-26 17:38:12 +02:00 committed by GitHub
parent 8ed4ce64c3
commit 5adfae2235
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ class ConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
try:
info = await validate_local_input(self.hass, user_input)
except CannotConnectError:
_LOGGER.exception("Cannot connect")
_LOGGER.debug("Cannot connect", exc_info=1)
errors["base"] = "cannot_connect"
except UnauthorizedError:
errors["base"] = "invalid_auth"