mirror of
https://github.com/outline/outline.git
synced 2026-06-13 11:25:03 +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:
@@ -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