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