Replace pylint broad-except with Ruff BLE001 (#116250)

This commit is contained in:
Sid
2024-05-07 14:00:27 +02:00
committed by GitHub
parent b35fbd8d20
commit 2cc916db6d
335 changed files with 459 additions and 459 deletions

View File

@@ -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: