Skip to content

Commit 861607c

Browse files
committed
chore: tweaks
1 parent 1b1e301 commit 861607c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

packages/server-renderer/src/renderToStream.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,9 @@ export function renderToSimpleStream<T extends SimpleReadable>(
9696
.catch(error => {
9797
try {
9898
finalize()
99-
} catch (_) {}
99+
} catch {
100+
// ignore cleanup errors to preserve the original render error
101+
}
100102
stream.destroy(error)
101103
})
102104

0 commit comments

Comments
 (0)