mirror of
https://github.com/home-assistant/core.git
synced 2025-08-01 03:35:09 +02:00
Replace pylint broad-except with Ruff BLE001 (#116250)
This commit is contained in:
@@ -85,7 +85,7 @@ class ConfigFlow(ConfigFlow, domain=DOMAIN):
|
||||
errors["base"] = "cannot_connect"
|
||||
except InvalidAuth:
|
||||
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