Skip to content

Commit

Permalink
Merge pull request #3060 from continuedev/dallin/duplicate-error-msg
Browse files Browse the repository at this point in the history
remove duplicate error toast while streaming
  • Loading branch information
sestinj authored Nov 26, 2024
2 parents 1237463 + 7b0d59c commit 021b13f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions gui/src/hooks/useChatHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -326,10 +326,6 @@ function useChatHandler(dispatch: Dispatch, ideMessenger: IIdeMessenger) {
} catch (e: any) {
dispatch(clearLastEmptyResponse());
console.debug("Error streaming response: ", e);
ideMessenger.post("showToast", [
"error",
`Error streaming response: ${e.message}`,
]);
} finally {
dispatch(setInactive());
triggerSave(!save);
Expand Down

0 comments on commit 021b13f

Please sign in to comment.