mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
add better debugging on /spend/report
This commit is contained in:
parent
22ad5b407e
commit
9eee36b449
1 changed files with 2 additions and 1 deletions
|
|
@ -869,8 +869,9 @@ async def get_global_spend_report(
|
|||
)
|
||||
|
||||
if premium_user is not True:
|
||||
verbose_proxy_logger.debug("accessing /spend/report but not a premium user")
|
||||
raise ValueError(
|
||||
"/spend/report endpoint" + CommonProxyErrors.not_premium_user.value
|
||||
"/spend/report endpoint " + CommonProxyErrors.not_premium_user.value
|
||||
)
|
||||
|
||||
if group_by == "team":
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue