Skip to content

Commit 04898cb

Browse files
authored
Update client/src/lib/hooks/useConnection.ts
1 parent fdd5bec commit 04898cb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

client/src/lib/hooks/useConnection.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,8 @@ export function useConnection({
367367
(error instanceof StreamableHTTPError && error.code === 401) ||
368368
(error instanceof Error && error.message.includes("401")) ||
369369
(error instanceof Error && error.message.includes("Unauthorized")) ||
370-
(error instanceof Error && error.message.includes("Missing Authorization header"))
370+
(error instanceof Error &&
371+
error.message.includes("Missing Authorization header"))
371372
);
372373
};
373374

0 commit comments

Comments
 (0)