Skip to content

Commit 21a368d

Browse files
committed
Fix logger usage check
1 parent 1b8070f commit 21a368d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/test/java/org/elasticsearch/transport/RemoteClusterServiceTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ public void onFailure(Exception e) {
667667
new ActionListener<BiFunction<String, String, DiscoveryNode>>() {
668668
@Override
669669
public void onResponse(BiFunction<String, String, DiscoveryNode> stringStringDiscoveryNodeBiFunction) {
670-
logger.warn("unexpected call: {}", new Exception("just for the stack trace"));
670+
logger.warn("unexpected call", new Exception("just for the stack trace"));
671671
try {
672672
fail("should not be called");
673673
} finally {

0 commit comments

Comments
 (0)