diff options
Diffstat (limited to 'steuermann/run.py')
-rw-r--r-- | steuermann/run.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/steuermann/run.py b/steuermann/run.py index 77db2f1..36f7f59 100644 --- a/steuermann/run.py +++ b/steuermann/run.py @@ -128,6 +128,7 @@ class runner(object): table=node.table, cmd=node.cmd, node=node.name, + w_node=node.name.replace("/","_").replace(":","_"), runname=run_name, ) @@ -328,9 +329,11 @@ def log_traceback() : # strings. I want each line of output logged separately so the log # file remains easy to process, so I reverse engineered this out of # the logging module. + print "LOG TRACEBACK:" try: etype, value, tb = sys.exc_info() tbex = traceback.extract_tb( tb ) + print tbex for filename, lineno, name, line in tbex : print '%s:%d, in %s'%(filename,lineno,name) if line: |