From 87f5671a8ee3e25e292106e633c170b9f4c3cbec Mon Sep 17 00:00:00 2001 From: Max Thonagel <12283268+thoniTUB@users.noreply.github.com> Date: Wed, 8 Jun 2022 11:05:57 +0200 Subject: [PATCH] adds missing violation message --- .../com/bakdata/conquery/models/exceptions/ValidatorHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/com/bakdata/conquery/models/exceptions/ValidatorHelper.java b/backend/src/main/java/com/bakdata/conquery/models/exceptions/ValidatorHelper.java index 98df5af521..44d168e4e0 100644 --- a/backend/src/main/java/com/bakdata/conquery/models/exceptions/ValidatorHelper.java +++ b/backend/src/main/java/com/bakdata/conquery/models/exceptions/ValidatorHelper.java @@ -22,7 +22,7 @@ public static > void failOnError(Logger log, Se final Optional violationString = createViolationsString(violations, log.isTraceEnabled()); if (violationString.isPresent()){ - throw new ValidationException(); + throw new ValidationException(violationString.get()); } }