[node-patches] Change in ovirt-node[master]: installer: Add traceback for exceptions in thread

fabiand at fedoraproject.org fabiand at fedoraproject.org
Tue Sep 17 09:45:37 UTC 2013


Fabian Deutsch has uploaded a new change for review.

Change subject: installer: Add traceback for exceptions in thread
......................................................................

installer: Add traceback for exceptions in thread

Previously it was only reported that an exception happened in the
installer thread, but now traceback was logged. Now also a traceback is
logged to help debugging.

Change-Id: I957d165e552c2ed4d8629e3c1a49804c8f225563
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M src/ovirt/node/installer/core/progress_page.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/17/19317/1

diff --git a/src/ovirt/node/installer/core/progress_page.py b/src/ovirt/node/installer/core/progress_page.py
index 8d7f59c..2ec9075 100644
--- a/src/ovirt/node/installer/core/progress_page.py
+++ b/src/ovirt/node/installer/core/progress_page.py
@@ -91,7 +91,7 @@
 
             self.__run()
         except Exception as e:
-            self.logger.error("Error in installer thread: %s" % e)
+            self.logger.exception("Installer thread failed: %s" % e)
 
     def __run(self):
         app = self.progress_plugin.application


-- 
To view, visit http://gerrit.ovirt.org/19317
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I957d165e552c2ed4d8629e3c1a49804c8f225563
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list