diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2016-05-20 02:07:44 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2016-05-20 02:07:44 +0300 |
commit | f0a035ae321dbf3ab8c6191b39017f7e0666ba55 (patch) | |
tree | a9627fa7cef42995194714725cc99a3ebe8591fa /lib | |
parent | e8dea8e588045b43c7a5d4931cde692fd135a21d (diff) |
xs params: show status code in error log
Diffstat (limited to 'lib')
-rw-r--r-- | lib/torrent.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/torrent.js b/lib/torrent.js index 33eecc3..6b10927 100644 --- a/lib/torrent.js +++ b/lib/torrent.js @@ -415,7 +415,7 @@ Torrent.prototype._getMetadataFromServer = function () { return cb(null) } if (res.statusCode !== 200) { - self._debug('non-200 status code from xs param: %s', url) + self._debug('non-200 status code %s from xs param: %s', res.statusCode, url) return cb(null) } |