diff options
-rw-r--r-- | src/loop-play.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/loop-play.js b/src/loop-play.js index 9c679c7..b44e83f 100644 --- a/src/loop-play.js +++ b/src/loop-play.js @@ -310,7 +310,7 @@ class DownloadController extends EventEmitter { try { downloadFile = await downloader(downloaderArg) } catch(err) { - this.emit('errored', err) + this.emit('errored', 'Download error: ' + err) return } @@ -326,7 +326,7 @@ class DownloadController extends EventEmitter { try { convertFile = await this.converter(converterOptions)(downloadFile) } catch(err) { - this.emit('errored', err) + this.emit('errored', 'Convert error: ' + err) return } finally { // Whether the convertion succeeds or not (hence 'finally'), we should |