fix bug in file log
Change-Id: I959844466513c6ef54e3a4356c51cf08fac5718b
This commit is contained in:
parent
c1c919ae33
commit
ccca3bfabc
@ -428,7 +428,7 @@ class VmtpTest(object):
|
|||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
traceback.format_exc()
|
traceback.format_exc()
|
||||||
except (VmtpException, sshutils.SSHError, ClientException, Exception):
|
except (VmtpException, sshutils.SSHError, ClientException, Exception):
|
||||||
LOG.error(traceback.print_exc())
|
LOG.error(traceback.format_exc())
|
||||||
error_flag = True
|
error_flag = True
|
||||||
|
|
||||||
if self.config.stop_on_error and error_flag:
|
if self.config.stop_on_error and error_flag:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user