Skip to content

Commit

Permalink
Merge 5cd28c2 into 758e3e9
Browse files Browse the repository at this point in the history
  • Loading branch information
mvidalgarcia committed Mar 20, 2020
2 parents 758e3e9 + 5cd28c2 commit e30cd64
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions reana_client/utils.py
Expand Up @@ -64,8 +64,13 @@ def yadage_load(workflow_file, toplevel='.'):
'schemadir': schemadir,
}

return yadageschemas.load(spec=workflow_file, specopts=specopts,
validopts=validopts, validate=True)
try:
return yadageschemas.load(spec=workflow_file, specopts=specopts,
validopts=validopts, validate=True)

except ValidationError as e:
e.message = str(e)
raise e


def cwl_load(workflow_file):
Expand Down

0 comments on commit e30cd64

Please sign in to comment.