fix: Skip Sentry capture for expected websocket "No access token" error (#12487)

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Tom Moor
2026-05-27 08:31:50 -04:00
committed by GitHub
parent ecaf116990
commit c4fe093a0d
+4
View File
@@ -96,6 +96,10 @@ function useConnectionHandlers() {
toast.error(message);
if (message === "No access token") {
return;
}
if (err instanceof Error) {
Sentry.captureException(err);
} else {