diff --git a/lib/client/http-tracker.js b/lib/client/http-tracker.js index 678f7a26..a31fb604 100644 --- a/lib/client/http-tracker.js +++ b/lib/client/http-tracker.js @@ -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) }