Skip to content

Commit

Permalink
[style](properties)(log) Optimize invalid property alert words
Browse files Browse the repository at this point in the history
  • Loading branch information
chuang-wang-pre committed Feb 14, 2025
1 parent f6bb733 commit 07805d3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ private static <TSchemaGroup extends PropertySchema.SchemaGroup, TParsed, TRaw>
rawProperties.forEach((key, value) -> {
String entryKey = key.toLowerCase();
if (!schemaGroup.getSchemas().containsKey(entryKey)) {
throw new IllegalArgumentException("Invalid property [" + entryKey + "]");
throw new IllegalArgumentException("Invalid property [" + key + "]");
}
PropertySchema schema = schemaGroup.getSchemas().get(entryKey);
properties.put(entryKey, reader.accept(schema, value));
Expand Down

0 comments on commit 07805d3

Please sign in to comment.