From 8bff94a32e6f14121ce18ce724635f44fc276ead Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Wed, 18 Mar 2015 17:12:11 -0700 Subject: better debug logs --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'index.js') 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 = {} -- cgit v1.2.3