diff options
author | Luca Casonato <hello@lcas.dev> | 2022-12-19 12:49:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-19 12:49:00 +0100 |
commit | 43b6390629ad62edbeca3b884ccee53422876a1a (patch) | |
tree | e72fb0808b5abb636e29c41c5fa5a7ee2a547435 /cli/util/progress_bar/renderer.rs | |
parent | 84b70dd2fb780a779930342d21c27e4e368070f1 (diff) |
fix(ext/fetch): handle errors in req body stream (#17081)
Right now an error in a request body stream causes an uncatchable
global promise rejection. This PR fixes this to instead propagate the
error correctly into the promise returned from `fetch`.
It additionally fixes errored readable stream bodies being treated as
successfully completed bodies by Rust.
Diffstat (limited to 'cli/util/progress_bar/renderer.rs')
0 files changed, 0 insertions, 0 deletions