Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Remove too much log for webtorrent download

Chocobozzz095094872a61
diff --git a/server/helpers/webtorrent.ts b/server/helpers/webtorrent.ts
index 5fe4c1165c..bea76a46f2 100644
--- a/server/helpers/webtorrent.ts
+++ b/server/helpers/webtorrent.ts
@@ -50,7 +50,7 @@ async function downloadWebTorrentVideo (target: { magnetUri: string, torrentName
.then(() => rej(new Error('Cannot import torrent ' + torrentId + ': there are multiple files in it')))
}
- logger.debug('Got torrent from webtorrent %s.', id, { infoHash: torrent.infoHash, files: torrent.files })
+ logger.debug('Got torrent from webtorrent %s.', id, { infoHash: torrent.infoHash })
file = torrent.files[0]