still use BaseException for logging purpose
This commit is contained in:
parent
cf34706f04
commit
d21083a11b
3 changed files with 3 additions and 3 deletions
|
|
@ -139,7 +139,7 @@ def log_output(session, path, args, outfile, uploadpath, cwd=None, logerror=0, a
|
|||
if env:
|
||||
environ.update(env)
|
||||
os.execvpe(path, args, environ)
|
||||
except Exception:
|
||||
except BaseException:
|
||||
msg = ''.join(traceback.format_exception(*sys.exc_info()))
|
||||
if fd:
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue