mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-28 06:04:17 +01:00
Merge pull request #337 from olof/reraise_issue
Reraise exception proplery to UI with --verbose
This commit is contained in:
commit
9b9dcb1fa9
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user