Skip to content

Commit 28c3d38

Browse files
committed
chore: update err msg on remaining left
1 parent 4638c6e commit 28c3d38

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils/http-parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ export function makeHttpResponseParser() {
174174
}
175175

176176
if(remaining.length) {
177-
throw new Error('stream ended with remaining data')
177+
throw new Error('stream ended before remaining data arrived')
178178
}
179179

180180
if(remainingBodyBytes > 0) {

0 commit comments

Comments
 (0)