capture errors sending to saas backend in sentry
This commit is contained in:
parent
7b08507b61
commit
1b37c4e063
@ -463,6 +463,7 @@ async def stream_code(websocket: WebSocket):
|
||||
)
|
||||
except Exception as e:
|
||||
print("Error sending to SaaS backend", e)
|
||||
sentry_sdk.capture_exception(e)
|
||||
|
||||
## Image Generation
|
||||
for index, _ in enumerate(completions):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user