Skip to content

Commit

Permalink
hitfix
Browse files Browse the repository at this point in the history
  • Loading branch information
lloydzhou committed Oct 25, 2024
1 parent e3ca7e8 commit 2c74559
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/utils/stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ export function fetch(url: string, options?: RequestInit): Promise<any> {
})
.catch((e) => {
console.error("stream error", e);
throw e;
// throw e;
return new Response("", { status: 599 });
});
}
return window.fetch(url, options);
Expand Down

0 comments on commit 2c74559

Please sign in to comment.