From b2ecc85acc8d407eab76c2cf2ca2f4ccfffdeb38 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 (cherry picked from commit ac4354d430f9d7ba31fc4da42277e22dc4f724ab) --- .../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 5b5331cd74f53..a94e21620999a 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); }