From 7bfa7b3f029812a8966f639e0de3f6458c84adf1 Mon Sep 17 00:00:00 2001 From: zhaoying Date: Mon, 26 Jan 2026 16:00:47 +0800 Subject: [PATCH] fix(web): handleSSE bugfix --- web/src/utils/stream.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/utils/stream.ts b/web/src/utils/stream.ts index 2501fde5..be2220da 100644 --- a/web/src/utils/stream.ts +++ b/web/src/utils/stream.ts @@ -131,7 +131,7 @@ export const handleSSE = async (url: string, data: any, onMessage?: (data: SSEMe break case 400: const error = await response.json(); - message.warning(errorData.error); + message.warning(error.error); throw error || 'Bad Request'; case 504: const errorJson = await response.json();