Update client/src/lib/hooks/useConnection.ts

This commit is contained in:
Cliff Hall 2026-01-07 14:16:22 -05:00 • committed by GitHub
commit 04898cb5ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -367,7 +367,8 @@ export function useConnection({
(error instanceof StreamableHTTPError && error.code === 401) ||
(error instanceof Error && error.message.includes("401")) ||
(error instanceof Error && error.message.includes("Unauthorized")) ||
(error instanceof Error && error.message.includes("Missing Authorization header"))
(error instanceof Error &&
error.message.includes("Missing Authorization header"))
);
};