Cleanup for PR #571

This commit is contained in:
Feross Aboukhadijeh
2016-05-23 15:15:52 -07:00
parent 2dafc68301
commit 30e81c7699
2 changed files with 9 additions and 12 deletions

View File

@@ -1015,7 +1015,7 @@ function openPlayer (infoHash, index, cb) {
var timeout = setTimeout(function () {
torrentSummary.playStatus = 'timeout' /* no seeders available? */
sound.play('ERROR')
cb(new Error('playback timed out'))
cb(new Error('Playback timed out. Try again.'))
update()
}, 10000) /* give it a few seconds */