Skip to content

Commit

Permalink
fix: passing the whole property name to the error message
Browse files Browse the repository at this point in the history
closes: #1068

Signed-off-by: Steve Hawkins <[email protected]>
  • Loading branch information
shawkins committed Dec 19, 2023
1 parent 5a96de2 commit 7f8d0f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ private static ConfigValue getPassword(final ConfigSourceContext context, final
passwordName = "smallrye.config.source.keystore.\"" + name + "\".password";
password = context.getValue(passwordName);
if (password == null || password.getValue() == null) {
throw new NoSuchElementException(ConfigMessages.msg.propertyNotFound(name));
throw new NoSuchElementException(ConfigMessages.msg.propertyNotFound(passwordName));
}
}
return password;
Expand Down

0 comments on commit 7f8d0f6

Please sign in to comment.