Commit e649fa67 authored by Joel's avatar Joel

Merge branch 'fix/user-cancel-show-error' into deploy/dev

parents c6e2be5d a380f8a6
......@@ -348,7 +348,9 @@ export const ssePost = (url: string, fetchOptions: any, { isPublicAPI = false, o
onData?.(str, isFirstMessage, moreInfo)
}, onCompleted)
}).catch((e) => {
Toast.notify({ type: 'error', message: e })
if (e.toString() !== 'AbortError: The user aborted a request.')
Toast.notify({ type: 'error', message: e })
onError?.(e)
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment