Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
ronag committed Nov 26, 2024
1 parent c0e7bca commit afadbd6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/handler/retry-handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,8 @@ class RetryHandler {
}

onResponseError (controller, err) {
assert(controller)

if (controller.aborted || isDisturbed(this.opts.body)) {
this.handler.onResponseError?.(controller, err)
return
Expand Down

0 comments on commit afadbd6

Please sign in to comment.