Skip to content

Commit

Permalink
Merge branch 'master' of github.com:ISAITB/shacl into ISAITB-master
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleycaselli committed Jan 10, 2025
2 parents 7c73739 + b3b4367 commit 5c19bb3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ protected void validateNodesAgainstConstraint(Collection<RDFNode> focusNodes, Co
executor = constraint.getExecutor();
} catch (Exception ex) {
Resource result = createResult(DASH.FailureResult, constraint, constraint.getShapeResource());
result.addProperty(SH.resultMessage, "Failed to create validator: " + ExceptionUtil.getStackTrace(ex));
result.addProperty(SH.resultMessage, "Failed to create validator: " + ExceptionUtil.getDeepMessage(ex));
return;
}
if (executor != null) {
Expand All @@ -594,7 +594,7 @@ protected void validateNodesAgainstConstraint(Collection<RDFNode> focusNodes, Co
executor.executeConstraint(constraint, this, focusNodes);
} catch (Exception ex) {
Resource result = createResult(DASH.FailureResult, constraint, constraint.getShapeResource());
result.addProperty(SH.resultMessage, "Exception during validation: " + ExceptionUtil.getStackTrace(ex));
result.addProperty(SH.resultMessage, "Exception during validation: " + ExceptionUtil.getDeepMessage(ex));
}
} else {
executor.executeConstraint(constraint, this, focusNodes);
Expand Down

0 comments on commit 5c19bb3

Please sign in to comment.