Skip to content

Commit 1564a60

Browse files
authored
Merge pull request #2732 from tisnik/lcore-3515
LCORE-3515: Do not catch blind exception: Exception
2 parents 8e8f8db + f0a63fa commit 1564a60

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/e2e/mock_tls_inference_server/server.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def _run_server(httpd: ThreadingHTTPServer, label: str) -> None:
265265
print(f"{label} listening")
266266
try:
267267
httpd.serve_forever()
268-
except Exception as exc: # pylint: disable=broad-except
268+
except Exception as exc: # pylint: disable=broad-except # noqa: BLE001 RUF100
269269
print(f"{label} error: {exc}")
270270

271271

0 commit comments

Comments
 (0)