[node-patches] Change in ovirt-node[master]: app: Always log stacktrace on UI exception
fabiand at fedoraproject.org
fabiand at fedoraproject.org
Mon Dec 9 11:50:33 UTC 2013
Fabian Deutsch has uploaded a new change for review.
Change subject: app: Always log stacktrace on UI exception
......................................................................
app: Always log stacktrace on UI exception
Change-Id: Icfbb959cb42925df090cf230024282e411794319
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M src/ovirt/node/app.py
1 file changed, 1 insertion(+), 2 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/91/22191/1
diff --git a/src/ovirt/node/app.py b/src/ovirt/node/app.py
index d522f3f..01596cb 100644
--- a/src/ovirt/node/app.py
+++ b/src/ovirt/node/app.py
@@ -287,8 +287,7 @@
self.ui.run()
except Exception as e:
console.reset()
- self.logger.error("An error appeared in the UI: %s" % repr(e))
- self.logger.debug("Exception:", exc_info=True)
+ self.logger.exception("An error appeared in the UI: %s" % repr(e))
if self.args.debug:
raise
console.writeln("Press ENTER to logout ...")
--
To view, visit http://gerrit.ovirt.org/22191
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icfbb959cb42925df090cf230024282e411794319
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