Commit dbc21b46 authored by Janez K's avatar Janez K

save results on failure in subprocesses and for loops

parent 1a7e17f7
......@@ -188,7 +188,11 @@ class WorkflowRunner():
while len(runnable_widgets)>0:
for w in runnable_widgets:
wr = WidgetRunner(w,self)
wr.run()
try:
wr.run()
except:
self.save()
raise
runnable_widgets = self.runnable_widgets
def run(self):
......
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