Commit 41d6b23
Log to sentry from dashboard on disconnected WS (#34592)
We've gotten some reports of folks being unable to connect to their deployments, but we generally can't investigate much until we have an instance name.
This should log a message to Sentry whenever the WS is disconnected in the dashboard including the instance name.
If the developer is completely offline (e.g. bad wifi), logging to sentry won't work either, so hopefully this'll catch issues specific to connecting to Convex. If this doesn't have too many false positives, we can later change this to display UI to the developer indicating we're having trouble connecting + any actionable instructions (e.g. filing a bug report, running a network test)
GitOrigin-RevId: c114735ee9c400409f3380b4b2173d73e62f75191 parent b4eb450 commit 41d6b23
1 file changed
+7
-1
lines changedLines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
348 | | - | |
| 348 | + | |
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
| |||
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
398 | 404 | | |
399 | 405 | | |
400 | 406 | | |
| |||
0 commit comments