Skip to content

Commit

Permalink
Hack for schema-sald not published with common-workflow-language/sche…
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Dec 3, 2019
1 parent ea19fcf commit 336fe61
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion gxformat2/schema/v19_09.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,11 @@ def load(self, doc, baseuri, loadingOptions, docRoot=None):
else:
r.append(lf)
except ValidationException as e:
errors.append(e.with_sourceline(SourceLine(doc, i, str)))
errors.append(ValidationException(
str(e),
SourceLine(doc, i, str),
[e]
))
if errors:
raise ValidationException("", None, errors)
return r
Expand Down

0 comments on commit 336fe61

Please sign in to comment.