Skip to content

Commit

Permalink
Append System.lineSeparator() to config error messages
Browse files Browse the repository at this point in the history
Suggestion to solve quarkusio#31536

(cherry picked from commit ac4354d)
  • Loading branch information
geertschuring authored and gsmet committed Mar 16, 2023
1 parent 1efbf33 commit b2ecc85
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public void validateConfigProperties(Set<ConfigValidationMetadata> 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);
}
Expand Down

0 comments on commit b2ecc85

Please sign in to comment.