Skip to content

Commit d2c0c39

Browse files
committed
fix: Fix stream handling.
1 parent 5d66993 commit d2c0c39

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Client.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -401,9 +401,6 @@ class Client {
401401
}
402402

403403
for await (const line of readNdJsonStream(response.body, combinedSignal)) {
404-
if (isStreamHeartbeat(line)) {
405-
continue;
406-
}
407404
if (isStreamError(line)) {
408405
throw new Error(`${line.payload.error}.`);
409406
}

0 commit comments

Comments
 (0)