Commit 7d088ead authored by Antoine Kaufmann's avatar Antoine Kaufmann
Browse files

experiments: print stacktrace in case of exeception in experiment

parent 3f91e459
...@@ -4,6 +4,7 @@ import modes.exectools as exectools ...@@ -4,6 +4,7 @@ import modes.exectools as exectools
import shlex import shlex
import time import time
import json import json
import traceback
class Experiment(object): class Experiment(object):
name = None name = None
...@@ -99,6 +100,7 @@ class Experiment(object): ...@@ -99,6 +100,7 @@ class Experiment(object):
# wait for necessary hosts to terminate # wait for necessary hosts to terminate
except: except:
out.set_failed() out.set_failed()
traceback.print_exc()
finally: finally:
out.set_end() out.set_end()
......
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