From 803046fdf96d47ea0941f144b51ea54ee227a10f Mon Sep 17 00:00:00 2001 From: Wei-Chiu Chuang Date: Tue, 26 Nov 2024 16:15:35 -0800 Subject: [PATCH] RATIS-2185. Improve gRPC log messages debugability. --- ratis-grpc/src/main/java/org/apache/ratis/grpc/GrpcUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {