Replace pylint broad-except with Ruff BLE001 (#116250)
This commit is contained in:
parent
b35fbd8d20
commit
2cc916db6d
335 changed files with 459 additions and 459 deletions
|
@ -64,7 +64,7 @@ class SentryConfigFlow(ConfigFlow, domain=DOMAIN):
|
|||
Dsn(user_input["dsn"])
|
||||
except BadDsn:
|
||||
errors["base"] = "bad_dsn"
|
||||
except Exception: # pylint: disable=broad-except
|
||||
except Exception:
|
||||
_LOGGER.exception("Unexpected exception")
|
||||
errors["base"] = "unknown"
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue