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

This call site previously logged a single-line error via verbose_proxy_logger.error()
with no traceback. Switching it to spend_log_error(..., exc=e) caused a full stack
trace to render by default (when LITELLM_SUPPRESS_SPEND_LOG_TRACEBACKS is unset),
which contradicts the PR goal of leaving default behavior unchanged. Revert this
specific site to the original error log call.
This commit is contained in:
Cursor Agent
2026-05-02 00:44:34 +00:00
parent 1cbe744114
commit 0e75c07166
+1 -1
View File
@@ -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(