From ded52039502ff4e01c1a758f8da49e41f47b7776 Mon Sep 17 00:00:00 2001 From: Florian Date: Mon, 20 Oct 2025 12:46:09 +0200 Subject: [PATCH] Typo --- src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.py b/src/main.py index 544cd71..1fc4c2d 100644 --- a/src/main.py +++ b/src/main.py @@ -44,7 +44,7 @@ async def prometheus_middleware(request: Request, call_next): response = await call_next(request) status = response.status_code logger.debug(f"[Metrics] Request processed with status {status}") - except Exception: + except Exception as e: logger.error(f"[Metrics] Exception occurred: {e}", exc_info=True) raise finally: