mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Replace pylint broad-except with Ruff BLE001 (#116250)
This commit is contained in:
@@ -500,7 +500,7 @@ class _ScriptRun:
|
||||
handler = f"_async_{action}_step"
|
||||
try:
|
||||
await getattr(self, handler)()
|
||||
except Exception as ex: # pylint: disable=broad-except
|
||||
except Exception as ex: # noqa: BLE001
|
||||
self._handle_exception(
|
||||
ex, continue_on_error, self._log_exceptions or log_exceptions
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user