From ccca3bfabc935541860331f9cab9a3f02c5299ce Mon Sep 17 00:00:00 2001 From: Xin Date: Tue, 14 Jun 2016 13:58:34 -0700 Subject: [PATCH] fix bug in file log Change-Id: I959844466513c6ef54e3a4356c51cf08fac5718b --- vmtp/vmtp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vmtp/vmtp.py b/vmtp/vmtp.py index f62f5b5..e45a8d1 100755 --- a/vmtp/vmtp.py +++ b/vmtp/vmtp.py @@ -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: