Alon Bar-Lev has uploaded a new change for review.

Change subject: core: main: dump traceback if debug when plugin load exception
......................................................................

core: main: dump traceback if debug when plugin load exception

Change-Id: I100284122d89d3e5b700929794528b9d491d0e6d
Signed-off-by: Alon Bar-Lev <[email protected]>
---
M src/otopi/__main__.py
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/otopi refs/changes/10/12810/1

diff --git a/src/otopi/__main__.py b/src/otopi/__main__.py
index a4354b9..adc0943 100644
--- a/src/otopi/__main__.py
+++ b/src/otopi/__main__.py
@@ -96,6 +96,8 @@
                     e,
                 )
             )
+            if self._debug > 0:
+                traceback.print_exc()
             return False
         except Exception as e:
             if self._debug > 0:


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I100284122d89d3e5b700929794528b9d491d0e6d
Gerrit-PatchSet: 1
Gerrit-Project: otopi
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to