diff --git a/src/main/java/org/topbraid/shacl/validation/ValidationEngine.java b/src/main/java/org/topbraid/shacl/validation/ValidationEngine.java index d5c4b992..b57cc31c 100644 --- a/src/main/java/org/topbraid/shacl/validation/ValidationEngine.java +++ b/src/main/java/org/topbraid/shacl/validation/ValidationEngine.java @@ -612,7 +612,7 @@ protected void validateNodesAgainstConstraint(Collection focusNodes, Co } 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) { @@ -622,7 +622,7 @@ protected void validateNodesAgainstConstraint(Collection focusNodes, Co } 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 {