[common] do not take SystemExit wrongly

This commit is contained in:
Mort Yao 2015-11-21 05:11:58 +01:00
parent 2aa55aee97
commit dcf59e8754

View File

@ -1142,7 +1142,7 @@ def script_main(script_name, download, download_playlist, **kwargs):
raise
else:
sys.exit(1)
except:
except Exception:
if not traceback:
log.e('[error] oops, something went wrong.')
log.e('don\'t panic, c\'est la vie. please try the following steps:')