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
diff options
context:
space:
mode:
authorFeross Aboukhadijeh <feross@feross.org>2015-12-05 14:21:39 +0300
committerFeross Aboukhadijeh <feross@feross.org>2015-12-05 14:21:39 +0300
commitcbe31a86cc5556792fe25ccbfbc8e2f412ce176d (patch)
tree2941b2703c94568e6e3920e78a8740dbba16e8f4
parent8451b868176e2a0421e1e3c38cd545e3e2420c2e (diff)
add debug log
-rw-r--r--lib/torrent.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/torrent.js b/lib/torrent.js
index ba13d8e..b9dc705 100644
--- a/lib/torrent.js
+++ b/lib/torrent.js
@@ -470,6 +470,7 @@ Torrent.prototype.addPeer = function (peer) {
*/
Torrent.prototype.addWebSeed = function (url) {
var self = this
+ debug('add web seed %s', url)
self.swarm.addWebSeed(url, self)
}