Skip to content

Commit ef86526

Browse files
committed
Log exception at ERROR level in CompositeLog
Fixes gh-22364
1 parent d1e5a3a commit ef86526

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-core/src/main/java/org/springframework/core/log/CompositeLog.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public void error(Object message) {
114114

115115
@Override
116116
public void error(Object message, Throwable ex) {
117-
this.errorLogger.error(message);
117+
this.errorLogger.error(message, ex);
118118
}
119119

120120
@Override

0 commit comments

Comments
 (0)