ActivityPub-federated video streaming platform using P2P directly in your web browser
Don't throw when there is no error
Chocobozzze111a5a3a11a
diff --git a/server/helpers/webtorrent.ts b/server/helpers/webtorrent.tsindex bea76a46f2..813ebc2361 100644--- a/server/helpers/webtorrent.ts+++ b/server/helpers/webtorrent.ts@@ -67,7 +67,9 @@ async function downloadWebTorrentVideo (target: { magnetUri: string, torrentNamepipeline(file.createReadStream(),writeStream,- err => rej(err)+ err => {+ if (err) rej(err)+ })})