There was an error while loading. Please reload this page.
1 parent 57b1091 commit e5459eeCopy full SHA for e5459ee
packages/webapp/src/api/api.ts
@@ -83,7 +83,7 @@ export class NdJsonParserStream extends TransformStream<string, JSON> {
83
controller = _controller;
84
},
85
transform: (chunk) => {
86
- const jsonChunks = chunk.split('\n');
+ const jsonChunks = chunk.split('\n').filter(Boolean);
87
for (const jsonChunk of jsonChunks) {
88
try {
89
this.buffer += jsonChunk;
0 commit comments