The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix(spend-logs): preserve no-traceback behavior for update_daily_tag_spend
Cursor Agentdfd8c406ee16
diff --git a/litellm/proxy/utils.py b/litellm/proxy/utils.pyindex 35e14f493e1..e7f5f4ee396 100644--- a/litellm/proxy/utils.py+++ b/litellm/proxy/utils.py@@ -5107,6 +5107,11 @@ async def update_daily_tag_spend(proxy_logging_obj=proxy_logging_obj,)except Exception as e:+ # NOTE: keep this as a plain ``error`` (no traceback) to match the+ # historical behavior of this site. ``spend_log_error`` would attach+ # the active exception's traceback whenever the suppression env var+ # is unset, which would be a regression for operators who never saw+ # one here before.verbose_proxy_logger.error(f"Error updating daily tag spend: {e}")