summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/lib/oeqa/utils/qemurunner.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py
index 98a11e1a2c..6cab9aa6b2 100644
--- a/meta/lib/oeqa/utils/qemurunner.py
+++ b/meta/lib/oeqa/utils/qemurunner.py
@@ -746,8 +746,10 @@ class LoggingThread(threading.Thread):
746 def threadtarget(self): 746 def threadtarget(self):
747 try: 747 try:
748 self.eventloop() 748 self.eventloop()
749 except Exception as e: 749 except Exception:
750 self.logger.warning("Exception %s in logging thread" % traceback.format_exception(e)) 750 exc_type, exc_value, exc_traceback = sys.exc_info()
751 self.logger.warning("Exception %s in logging thread" %
752 traceback.format_exception(exc_type, exc_value, exc_traceback))
751 finally: 753 finally:
752 self.teardown() 754 self.teardown()
753 755