diff --git a/command_line.py b/command_line.py index f3a6ceb..b308f49 100644 --- a/command_line.py +++ b/command_line.py @@ -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)