1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-24 12:15:40 +01:00

Merge pull request #337 from olof/reraise_issue

Reraise exception proplery to UI with --verbose
This commit is contained in:
Johan Andersson 2016-01-27 19:20:59 +01:00
commit 9b9dcb1fa9

View File

@ -200,7 +200,7 @@ def get_one_media(stream, options):
error.append(i)
except Exception as e:
if options.verbose:
raise e
raise
else:
log.error("svtplay-dl crashed")
log.error("Run again and add --verbose as an argument, to get more information")