« get me outta code hell

http-music - Command-line music player + utils (not a server!)
about summary refs log tree commit diff
path: root/src/downloaders.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/downloaders.js')
-rw-r--r--src/downloaders.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/downloaders.js b/src/downloaders.js
index 0e2b1bb..04838c2 100644
--- a/src/downloaders.js
+++ b/src/downloaders.js
@@ -40,6 +40,7 @@ function makeYouTubeDownloader() {
 
     return promisifyProcess(spawn('youtube-dl', opts))
       .then(() => tempDir + '/dl.mp3')
+      .catch(err => false)
   }
 }