Commit 1b8a6961 authored by Thanassis Tsiodras's avatar Thanassis Tsiodras

Save the environment! Log it upon panics.

parent d48e25e1
......@@ -160,6 +160,7 @@ def panic(x):
x += "\n"
sys.stderr.write(x)
g_stageLog.error(g_currentStage)
os.system('env > "' + g_absOutputDir + os.sep + 'env.txt"')
sys.exit(1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment