mirror of
https://github.com/outline/outline.git
synced 2026-11-27 07:58:51 +03:00
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:
1 parent
ecaf116990
commit
c4fe093a0d
1 file changed
+4
@@ -96,6 +96,10 @@ function useConnectionHandlers() {
|
||||
|
||||
toast.error(message);
|
||||
|
||||
if (message === "No access token") {
|
||||
return;
|
||||
}
|
||||
|
||||
if (err instanceof Error) {
|
||||
Sentry.captureException(err);
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user