Skip to content

Commit 5a01ed6

Browse files
committed
Replace log error with warning in reflection with type not found
1 parent 5545dd2 commit 5a01ed6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/swagger-core/src/main/java/io/swagger/v3/core/util/ReflectionUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public static Type typeFromString(String type) {
3434
try {
3535
return loadClassByName(type);
3636
} catch (Exception e) {
37-
LOGGER.error(String.format("Failed to resolve '%s' into class", type), e);
37+
LOGGER.warn(String.format("Failed to resolve '%s' into class", type), e);
3838
}
3939
return null;
4040
}

0 commit comments

Comments
 (0)