Skip to content

Commit 2547a1e

Browse files
authored
Improve log warning - add offender
A log warning without the offender mentioned is meaningless. Now added. Ref #17591
1 parent 1870fbb commit 2547a1e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7094,7 +7094,7 @@ public boolean convertPropertyToBoolean(String propertyKey) {
70947094
} else if (booleanValue instanceof String) {
70957095
result = Boolean.parseBoolean((String) booleanValue);
70967096
} else {
7097-
LOGGER.warn("The value (generator's option) must be either boolean or string. Default to `false`.");
7097+
LOGGER.warn("The '{}' value (generator's option) must be either boolean or string. Default to `false`.", propertyKey);
70987098
}
70997099
return result;
71007100
}

0 commit comments

Comments
 (0)