mirror of
https://github.com/home-assistant/core.git
synced 2026-09-28 02:18:10 -04:00
Log bare exceptions in the config flow (#135584)
* Log bare exceptions in the config flow * add more * Fix
This commit is contained in:
@@ -52,7 +52,7 @@ class HomeeConfigFlow(ConfigFlow, domain=DOMAIN):
|
||||
errors["base"] = "cannot_connect"
|
||||
except HomeeAuthenticationFailedException:
|
||||
errors["base"] = "invalid_auth"
|
||||
except Exception: # pylint: disable=broad-except
|
||||
except Exception:
|
||||
_LOGGER.exception("Unexpected exception")
|
||||
errors["base"] = "unknown"
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user