Skip to content

Commit

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

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
  • Loading branch information
shawkins committed Dec 20, 2023
1 parent a43a318 commit d71500b
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 d71500b

Please sign in to comment.