From 0b8f967eb5e304155752b4492584d4a7509a454c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 23 Mar 2026 20:56:14 +0000 Subject: [PATCH] fix(main): suppress S110 ruff warnings with noqa comments for intentional try-except-pass Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com> Agent-Logs-Url: https://github.com/christianlouis/DocuElevate/sessions/da38721d-bd24-40e2-97a8-08edf261006e --- app/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/main.py b/app/main.py index afa66525..5c9f4fc9 100644 --- a/app/main.py +++ b/app/main.py @@ -284,13 +284,13 @@ async def lifespan(app: FastAPI): # Shutdown: Cleanup tasks try: logging.info("Application shutting down") - except Exception: + except Exception: # noqa: S110 pass # During test teardown, logging streams may already be closed # Send shutdown notification try: notify_shutdown() - except Exception: + except Exception: # noqa: S110 pass # During test teardown, I/O streams may already be closed