Skip to content

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]

fix(spend-logs): preserve no-traceback behavior for update_daily_tag_spend

Cursor Agent0e75c07166dc
diff --git a/litellm/proxy/utils.py b/litellm/proxy/utils.py
index 487c89449db..35e14f493e1 100644
--- a/litellm/proxy/utils.py
+++ b/litellm/proxy/utils.py
@@ -5107,7 +5107,7 @@ async def update_daily_tag_spend(
proxy_logging_obj=proxy_logging_obj,
)
except Exception as e:
- spend_log_error("Error updating daily tag spend: %s", str(e), exc=e)
+ verbose_proxy_logger.error(f"Error updating daily tag spend: {e}")
async def update_spend_logs_job(