# HG changeset patch # User Drew Perttula # Date 2017-05-30 07:38:04 # Node ID 5db651b08d7700b96d5b3837b83b31a1f984dbbc # Parent d5761661ac31e4c28193601cae1881c7befe8626 syncedgraph log traceback on a handler exception Ignore-this: 26b425864acaf1eb479ab9d68855c07e diff --git a/light9/rdfdb/autodepgraphapi.py b/light9/rdfdb/autodepgraphapi.py --- a/light9/rdfdb/autodepgraphapi.py +++ b/light9/rdfdb/autodepgraphapi.py @@ -45,7 +45,12 @@ class AutoDepGraphApi(object): 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))