Update threads test

This commit is contained in:
RatzzFatzz
2024-11-27 21:19:08 +01:00
parent 1863432dc6
commit 547b5ad86c
2 changed files with 13 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ public class Main implements Runnable {
if (!violations.isEmpty()) {
StringBuilder errorMsg = new StringBuilder();
for (ConstraintViolation<Config> violation : violations) {
errorMsg.append("ERROR: ").append(violation.getMessage()).append("\n");
errorMsg.append("ERROR: ").append(violation.getPropertyPath()).append(" ").append(violation.getMessage()).append("\n");
}
throw new CommandLine.ParameterException(spec.commandLine(), errorMsg.toString());
}