diff --git a/ratis-grpc/src/main/java/org/apache/ratis/grpc/GrpcUtil.java b/ratis-grpc/src/main/java/org/apache/ratis/grpc/GrpcUtil.java index 5a7f003183..ad8dcb9d6f 100644 --- a/ratis-grpc/src/main/java/org/apache/ratis/grpc/GrpcUtil.java +++ b/ratis-grpc/src/main/java/org/apache/ratis/grpc/GrpcUtil.java @@ -190,7 +190,7 @@ static void asyncCall( } static void warn(Logger log, Supplier message, Throwable t) { - LogUtils.warn(log, message, unwrapThrowable(t), StatusRuntimeException.class, ServerNotReadyException.class); + LogUtils.warn(log, message, unwrapThrowable(t), ServerNotReadyException.class); } class StatusRuntimeExceptionMetadataBuilder {