stop raising exceptions for "user has no credits" here (saas backend includes it)
This commit is contained in:
parent
9a13fcc3d0
commit
9df95d9916
@ -125,7 +125,6 @@ async def stream_code(websocket: WebSocket):
|
||||
await throw_error(
|
||||
"Your subscription has run out of monthly credits. Contact support and we can add more credits to your account for free."
|
||||
)
|
||||
raise Exception("User has no credits")
|
||||
else:
|
||||
await throw_error("Unknown error occurred. Contact support.")
|
||||
raise Exception("Unknown error occurred when checking subscription credits")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user