Skip to content

Commit e0b0e00

Browse files
committed
fixed up syntax error
1 parent 937e170 commit e0b0e00

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pydra/engine/submitter.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,9 +459,10 @@ async def expand_workflow_async(
459459
tasks = self.get_runnable_tasks(exec_graph)
460460
finally:
461461
if errors:
462+
all_errors = "\n\n".join(errors)
462463
raise RuntimeError(
463464
f"Workflow task {workflow_task} failed with errors"
464-
f":\n\n{'\n\n'.join(errors)}"
465+
f":\n{all_errors}"
465466
)
466467

467468
def __enter__(self):

0 commit comments

Comments
 (0)