Fixed an error logging.

This commit is contained in:
Joey Payne 2015-11-25 14:25:13 -07:00
commit 2cc1964200

View file

@ -793,8 +793,8 @@ class CommandBase(object):
exc = traceback.format_exception(sys.exc_info()[0],
sys.exc_info()[1],
sys.exc_info()[2])
self.output_err += u''.join(exc)
self.logger.error(exc)
self.output_err += u''.join(exc)
finally:
shutil.rmtree(temp_dir, ignore_errors=True)