mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 23:01:09 +03:00
Bugfix/Throw error to prevent SSE from retrying (#3281)
throw error to prevent SSE from retrying
This commit is contained in:
@@ -841,6 +841,7 @@ export const ChatMessage = ({ open, chatflowid, isAgentCanvas, isDialog, preview
|
|||||||
async onerror(err) {
|
async onerror(err) {
|
||||||
console.error('EventSource Error: ', err)
|
console.error('EventSource Error: ', err)
|
||||||
closeResponse()
|
closeResponse()
|
||||||
|
throw err
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user