ActivityPub-federated video streaming platform using P2P directly in your web browser
Add log in peertube watch script on error
Chocobozzza38878191646
diff --git a/server/tools/peertube-watch.ts b/server/tools/peertube-watch.tsindex 5f7d1bb07d..b8e750a375 100644--- a/server/tools/peertube-watch.ts+++ b/server/tools/peertube-watch.ts@@ -43,5 +43,10 @@ function run (url: string, program: any) {url.replace('videos/watch', 'download/torrents') +`-${program.resolution}.torrent`- execSync(cmd + args)+ try {+ execSync(cmd + args)+ } catch (err) {+ console.error('Cannto exec command.', err)+ process.exit(-1)+ }}