Skip to content

Commit 480bae9

Browse files
author
M. Emin Cihangeri
committed
fix: Add throw error
1 parent 8829892 commit 480bae9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/src/stream/sse-stream.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ export class SseStream<Item> implements AsyncIterable<Item> {
6161
return;
6262
}
6363
logger.error('Error while iterating over SSE stream:', e);
64+
throw e;
6465
} finally {
6566
// Make sure that the controller is aborted if the stream was not fully consumed
6667
if (!done) {

0 commit comments

Comments
 (0)