Skip to content

Commit 1106837

Browse files
authored
Merge pull request #56 from pattern-tech/feat/wallet-accounting
Feat/wallet accounting
2 parents 30c3feb + 47760ce commit 1106837

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/src/conversation/routers/playground_conversation_router.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ async def send_message(
412412
is_eligible = query_usage_service.check_user_eligibility(
413413
db, user_id, max_query_allowance)
414414
if not is_eligible:
415-
raise Exception(
415+
raise RateLimitError(
416416
"You have reached your daily query limit. Please try again tomorrow or stake more to get more queries."
417417
)
418418

0 commit comments

Comments
 (0)