mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 18:28:14 +02:00
Replace pylint broad-except with Ruff BLE001 (#116250)
This commit is contained in:
@ -300,7 +300,7 @@ async def handle_call_service(
|
||||
translation_key=err.translation_key,
|
||||
translation_placeholders=err.translation_placeholders,
|
||||
)
|
||||
except Exception as err: # pylint: disable=broad-except
|
||||
except Exception as err:
|
||||
connection.logger.exception("Unexpected exception")
|
||||
connection.send_error(msg["id"], const.ERR_UNKNOWN_ERROR, str(err))
|
||||
|
||||
|
Reference in New Issue
Block a user