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-03-19 03:12:11 +0300
committerFeross Aboukhadijeh <feross@feross.org>2015-03-19 03:15:19 +0300
commit8bff94a32e6f14121ce18ce724635f44fc276ead (patch)
tree319f82689f1501a8a225e069f8490c3d32678d08 /index.js
parent15a9e7f0110d90cd9aaf660ed69ad58d043169a0 (diff)
better debug logs
Diffstat (limited to 'index.js')
-rw-r--r--index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.js b/index.js
index 4364ca0..1d50e33 100644
--- a/index.js
+++ b/index.js
@@ -144,7 +144,7 @@ WebTorrent.prototype.add =
WebTorrent.prototype.download = function (torrentId, opts, ontorrent) {
var self = this
if (self.destroyed) throw new Error('client is destroyed')
- debug('add %s', torrentId)
+ debug('add')
if (typeof opts === 'function') {
ontorrent = opts
opts = {}
@@ -194,7 +194,7 @@ WebTorrent.prototype.download = function (torrentId, opts, ontorrent) {
WebTorrent.prototype.seed = function (input, opts, onseed) {
var self = this
if (self.destroyed) throw new Error('client is destroyed')
- debug('seed %s', input)
+ debug('seed')
if (typeof opts === 'function') {
onseed = opts
opts = {}