Commit 92dd0f72 authored by André Anjos's avatar André Anjos 💬

Merge branch 'improve_setup_exception_handling' into 'master'

Improve algorithm setup handling in local executor

See merge request !89
parents a166e994 e242f2e3
Pipeline #33004 passed with stages
in 41 minutes and 6 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