diff --git a/src/main/java/org/topbraid/shacl/validation/ValidationEngine.java b/src/main/java/org/topbraid/shacl/validation/ValidationEngine.java index bb890c57..570d8890 100644 --- a/src/main/java/org/topbraid/shacl/validation/ValidationEngine.java +++ b/src/main/java/org/topbraid/shacl/validation/ValidationEngine.java @@ -585,7 +585,7 @@ protected void validateNodesAgainstConstraint(Collection 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) { @@ -594,7 +594,7 @@ protected void validateNodesAgainstConstraint(Collection 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);