Fixed an error logging.
This commit is contained in:
parent
e2c1293c2a
commit
2cc1964200
1 changed files with 1 additions and 1 deletions
|
|
@ -793,8 +793,8 @@ class CommandBase(object):
|
||||||
exc = traceback.format_exception(sys.exc_info()[0],
|
exc = traceback.format_exception(sys.exc_info()[0],
|
||||||
sys.exc_info()[1],
|
sys.exc_info()[1],
|
||||||
sys.exc_info()[2])
|
sys.exc_info()[2])
|
||||||
self.output_err += u''.join(exc)
|
|
||||||
self.logger.error(exc)
|
self.logger.error(exc)
|
||||||
|
self.output_err += u''.join(exc)
|
||||||
finally:
|
finally:
|
||||||
shutil.rmtree(temp_dir, ignore_errors=True)
|
shutil.rmtree(temp_dir, ignore_errors=True)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue