diff --git a/app/main.py b/app/main.py index 9315e03c..5a0c6816 100644 --- a/app/main.py +++ b/app/main.py @@ -297,13 +297,13 @@ async def lifespan(app: FastAPI): try: logging.info("Application shutting down") except Exception: - pass # noqa: S110 + _startup_logger.exception("Error during shutdown logging") # Send shutdown notification try: notify_shutdown() except Exception: - pass # noqa: S110 + _startup_logger.exception("Error sending shutdown notification") app = FastAPI(