Skip to content

Commit

Permalink
Bugfix/Throw error to prevent SSE from retrying (#3281)
Browse files Browse the repository at this point in the history
throw error to prevent SSE from retrying
  • Loading branch information
HenryHengZJ committed Sep 28, 2024
1 parent 99cb8c3 commit 01ae2ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/ui/src/views/chatmessage/ChatMessage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -841,6 +841,7 @@ export const ChatMessage = ({ open, chatflowid, isAgentCanvas, isDialog, preview
async onerror(err) {
console.error('EventSource Error: ', err)
closeResponse()
throw err
}
})
}
Expand Down

0 comments on commit 01ae2ac

Please sign in to comment.