Changeset - 5db651b08d77
[Not reviewed]
default
0 1 0
Drew Perttula - 8 years ago 2017-05-30 07:38:04
drewp@bigasterisk.com
syncedgraph log traceback on a handler exception
Ignore-this: 26b425864acaf1eb479ab9d68855c07e
1 file changed with 5 insertions and 0 deletions:
0 comments (0 inline, 0 general)
light9/rdfdb/autodepgraphapi.py
Show inline comments
 
@@ -45,7 +45,12 @@ class AutoDepGraphApi(object):
 
        self.currentFuncs.append(func)
 
        log.debug('graph.currentFuncs push %s', func)
 
        try:
 
            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))
0 comments (0 inline, 0 general)