Bugfix/Throw error to prevent SSE from retrying (#3281)
throw error to prevent SSE from retrying
This commit is contained in:
parent
99cb8c32cb
commit
01ae2ac7c4
|
|
@ -841,6 +841,7 @@ export const ChatMessage = ({ open, chatflowid, isAgentCanvas, isDialog, preview
|
|||
async onerror(err) {
|
||||
console.error('EventSource Error: ', err)
|
||||
closeResponse()
|
||||
throw err
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue