From ac4354d430f9d7ba31fc4da42277e22dc4f724ab Mon Sep 17 00:00:00 2001 From: Geert Schuring Date: Thu, 2 Mar 2023 10:33:29 +0100 Subject: [PATCH] Append System.lineSeparator() to config error messages Suggestion to solve https://github.com/quarkusio/quarkus/issues/31536 --- .../src/main/java/io/quarkus/arc/runtime/ConfigRecorder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/arc/runtime/src/main/java/io/quarkus/arc/runtime/ConfigRecorder.java b/extensions/arc/runtime/src/main/java/io/quarkus/arc/runtime/ConfigRecorder.java index 72067f2afa0b8..befdd6537eeee 100644 --- a/extensions/arc/runtime/src/main/java/io/quarkus/arc/runtime/ConfigRecorder.java +++ b/extensions/arc/runtime/src/main/java/io/quarkus/arc/runtime/ConfigRecorder.java @@ -60,7 +60,7 @@ public void validateConfigProperties(Set properties) { ConfigProducerUtil.getValue(property.getName(), effectivePropertyType, property.getDefaultValue(), config); } catch (Exception e) { msg.append("Failed to load config value of type ").append(effectivePropertyType).append(" for: ") - .append(property.getName()); + .append(property.getName()).append(System.lineSeparator()); problems.add(property.getName()); suppressed.add(e); }