1
0

[kimi] fix: add logging to silent except Exception handlers (#646) (#692)

This commit is contained in:
2026-03-21 03:50:26 +00:00
parent c9445e3056
commit e3d425483d
9 changed files with 20 additions and 1 deletions

View File

@@ -116,7 +116,7 @@ class RequestLoggingMiddleware(BaseHTTPMiddleware):
},
)
except Exception as exc:
logger.debug("Escalation logging error: %s", exc)
logger.warning("Escalation logging error: %s", exc)
pass # never let escalation break the request
# Re-raise the exception