Verified Commit a3887819 authored by Chocobozzz's avatar Chocobozzz
Browse files

Add log in peertube watch script on error

parent 624a0221
......@@ -43,5 +43,10 @@ function run (url: string, program: any) {
url.replace('videos/watch', 'download/torrents') +
execSync(cmd + args)
try {
execSync(cmd + args)
} catch (err) {
console.error('Cannto exec command.', err)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment