Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFeross Aboukhadijeh <feross@feross.org>2016-05-20 02:07:44 +0300
committerFeross Aboukhadijeh <feross@feross.org>2016-05-20 02:07:44 +0300
commitf0a035ae321dbf3ab8c6191b39017f7e0666ba55 (patch)
treea9627fa7cef42995194714725cc99a3ebe8591fa /lib
parente8dea8e588045b43c7a5d4931cde692fd135a21d (diff)
xs params: show status code in error log
Diffstat (limited to 'lib')
-rw-r--r--lib/torrent.js2
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)
}