diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2015-03-19 03:12:11 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2015-03-19 03:15:19 +0300 |
commit | 8bff94a32e6f14121ce18ce724635f44fc276ead (patch) | |
tree | 319f82689f1501a8a225e069f8490c3d32678d08 /index.js | |
parent | 15a9e7f0110d90cd9aaf660ed69ad58d043169a0 (diff) |
better debug logs
Diffstat (limited to 'index.js')
-rw-r--r-- | index.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 = {} |