changeset 1583:5db651b08d77

syncedgraph log traceback on a handler exception Ignore-this: 26b425864acaf1eb479ab9d68855c07e
author Drew Perttula <drewp@bigasterisk.com>
date Tue, 30 May 2017 07:38:04 +0000
parents d5761661ac31
children 2239d5648932
files light9/rdfdb/autodepgraphapi.py
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/light9/rdfdb/autodepgraphapi.py	Tue May 30 07:37:17 2017 +0000
+++ b/light9/rdfdb/autodepgraphapi.py	Tue May 30 07:38:04 2017 +0000
@@ -45,7 +45,12 @@
         self.currentFuncs.append(func)
         log.debug('graph.currentFuncs push %s', func)
         try:
-            func()
+            try:
+                func()
+            except:
+                import traceback
+                traceback.print_exc()
+                raise
         finally:
             self.currentFuncs.pop()
             log.debug('graph.currentFuncs pop %s. stack now has %s', func, len(self.currentFuncs))