mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 18:24:20 +00:00
chore: update error message
This commit is contained in:
parent
7c7ead0c2c
commit
7d5f164f2d
1 changed files with 1 additions and 1 deletions
|
@ -2401,7 +2401,7 @@ async def global_spend_keys(
|
|||
try:
|
||||
limit = int(limit)
|
||||
if limit < 1:
|
||||
raise ValueError(f"Invalid limit: {limit}, must be greater than 0")
|
||||
raise ValueError(f"Limit must be greater than 0")
|
||||
sql_query = """SELECT * FROM "Last30dKeysBySpend" LIMIT $1 ;"""
|
||||
response = await prisma_client.db.query_raw(sql_query, limit)
|
||||
except ValueError as e:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue