mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-17 08:18:09 +00:00
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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user