Skip to content

Commit

Permalink
🚑 fix: ensure error messages are displayed on the conversation when t…
Browse files Browse the repository at this point in the history
…he backend API is unavailable
  • Loading branch information
ohneda committed May 14, 2024
1 parent e42709b commit f157b64
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion client/src/hooks/SSE/useSSE.ts
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,6 @@ export default function useSSE(submission: TSubmission | null, index = 0) {
console.error(error);
console.log(e);
setIsSubmitting(false);
return;
}

errorHandler({ data, submission: { ...submission, message } });
Expand Down

0 comments on commit f157b64

Please sign in to comment.