mirror of
https://github.com/soimort/you-get.git
synced 2025-02-03 08:43:58 +03:00
[common] do not take SystemExit wrongly
This commit is contained in:
parent
2aa55aee97
commit
dcf59e8754
@ -1142,7 +1142,7 @@ def script_main(script_name, download, download_playlist, **kwargs):
|
|||||||
raise
|
raise
|
||||||
else:
|
else:
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
except:
|
except Exception:
|
||||||
if not traceback:
|
if not traceback:
|
||||||
log.e('[error] oops, something went wrong.')
|
log.e('[error] oops, something went wrong.')
|
||||||
log.e('don\'t panic, c\'est la vie. please try the following steps:')
|
log.e('don\'t panic, c\'est la vie. please try the following steps:')
|
||||||
|
Loading…
Reference in New Issue
Block a user