mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 22:27:07 +00:00
Reduce error trace in Risco config flow to debug (#82730)
This commit is contained in:
parent
8ed4ce64c3
commit
5adfae2235
@ -158,7 +158,7 @@ class ConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
|
|||||||
try:
|
try:
|
||||||
info = await validate_local_input(self.hass, user_input)
|
info = await validate_local_input(self.hass, user_input)
|
||||||
except CannotConnectError:
|
except CannotConnectError:
|
||||||
_LOGGER.exception("Cannot connect")
|
_LOGGER.debug("Cannot connect", exc_info=1)
|
||||||
errors["base"] = "cannot_connect"
|
errors["base"] = "cannot_connect"
|
||||||
except UnauthorizedError:
|
except UnauthorizedError:
|
||||||
errors["base"] = "invalid_auth"
|
errors["base"] = "invalid_auth"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user