Skip to content

Commit

Permalink
Revert "Bugfix - when using AbortController, errors on resulting stre…
Browse files Browse the repository at this point in the history
…am must …"

This reverts commit e45516d.
  • Loading branch information
ThaUnknown authored Nov 29, 2024
1 parent e45516d commit 35e7830
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/client/http-tracker.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ class HTTPTracker extends Tracker {
'user-agent': this.client._userAgent || ''
}
})
if (res.body.on) res.body.on('error', cb)
} catch (err) {
if (err) return cb(err)
}
Expand Down

0 comments on commit 35e7830

Please sign in to comment.