mirror of
https://github.com/langgenius/dify.git
synced 2026-01-14 06:07:33 +08:00
Fix: rm invalid errorMessage on e.toString() (#24805)
This commit is contained in:
parent
0fe078d25e
commit
863f3aeb27
@ -467,7 +467,7 @@ export const ssePost = async (
|
||||
onAgentLog,
|
||||
)
|
||||
}).catch((e) => {
|
||||
if (e.toString() !== 'AbortError: The user aborted a request.' && !e.toString().errorMessage.includes('TypeError: Cannot assign to read only property'))
|
||||
if (e.toString() !== 'AbortError: The user aborted a request.' && !e.toString().includes('TypeError: Cannot assign to read only property'))
|
||||
Toast.notify({ type: 'error', message: e })
|
||||
onError?.(e)
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user