diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2016-02-16 10:55:23 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2016-02-16 10:55:23 +0300 |
commit | 4faae5b9e84536fcae63c9ce0e16e898d916406f (patch) | |
tree | ed0b7d4b9390fd0693a432f806f78c28ed19b219 /bin | |
parent | c667425f741187fa3334468bc52114f448bd9a93 (diff) |
catch and print chromecast errors
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/cmd.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -425,6 +425,10 @@ function runDownload (torrentId) { player.play(href, { title: torrent.name }) + player.on('error', function (err) { + err.message = 'Chromecast: ' + err.message + errorAndExit(err) + }) }) } |