From de5f2c42f5100c113106e660315a50434e383e7e Mon Sep 17 00:00:00 2001 From: sienkiew Date: Wed, 7 Mar 2012 17:23:44 +0000 Subject: checkpoint git-svn-id: https://svn.stsci.edu/svn/ssb/etal/steuermann/trunk@561 d34015c8-bcbb-4646-8ac8-8ba5febf221d --- steuermann/run.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'steuermann/run.py') 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: -- cgit