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:
|
except Exception as e:
|
||||||
print("Error sending to SaaS backend", e)
|
print("Error sending to SaaS backend", e)
|
||||||
|
sentry_sdk.capture_exception(e)
|
||||||
|
|
||||||
## Image Generation
|
## Image Generation
|
||||||
for index, _ in enumerate(completions):
|
for index, _ in enumerate(completions):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user