diff --git a/index.js b/index.js index a7248fd..60f336b 100644 --- a/index.js +++ b/index.js @@ -153,7 +153,7 @@ Tracker.prototype._requestHttp = function (requestUrl, opts) { return } res.pipe(concat(function (data) { - self._handleResponse(requestUrl, data) + if (data && data.length) self._handleResponse(requestUrl, data) })) })