fix bug in file log

Change-Id: I959844466513c6ef54e3a4356c51cf08fac5718b
This commit is contained in:
Xin 2016-06-14 13:58:34 -07:00
parent c1c919ae33
commit ccca3bfabc

View File

@ -428,7 +428,7 @@ class VmtpTest(object):
except KeyboardInterrupt:
traceback.format_exc()
except (VmtpException, sshutils.SSHError, ClientException, Exception):
LOG.error(traceback.print_exc())
LOG.error(traceback.format_exc())
error_flag = True
if self.config.stop_on_error and error_flag: