Commit e242f2e3 authored by Samuel GAIST's avatar Samuel GAIST

[execution][local] Improve setup handling

With Python 3.7, the runner failing its creation
doesn't propagate the same as with Python 3.6.
parent a166e994
Pipeline #33003 passed with stage
in 27 minutes and 16 seconds
......@@ -335,8 +335,12 @@ class LocalExecutor(BaseExecutor):
retval = self.executor.setup()
if not retval:
status = self.executor.setup()
except Exception:
status = 0
if not status:
raise RuntimeError("Algorithm {} setup failed".format(
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