[core] Enable ruff BLE (flake8-blind-except) lint family (#16659)

This commit is contained in:
J. Nick Koston
2026-05-27 03:09:57 -05:00
committed by GitHub
parent 7463a15c7e
commit 3cc875c40b
23 changed files with 30 additions and 29 deletions

View File

@@ -110,7 +110,7 @@ async def syslog_udp_listener() -> AsyncGenerator[tuple[int, SyslogReceiver]]:
receiver.on_message(msg)
except BlockingIOError:
await asyncio.sleep(0.01)
except Exception:
except Exception: # noqa: BLE001
break
task = asyncio.create_task(receive_messages())