diff --git a/src/utils/fetch-sse.mjs b/src/utils/fetch-sse.mjs index 7194bbb..e59a219 100644 --- a/src/utils/fetch-sse.mjs +++ b/src/utils/fetch-sse.mjs @@ -34,6 +34,7 @@ export async function fetchSSE(resource, options) { parser.feed(formattedStr) } catch (error) { console.debug('json error', error) + parser.feed(str) } }