From 38d637099dd770779b0e7b66c7b9fe1756ebb73a Mon Sep 17 00:00:00 2001 From: longqiang02 Date: Wed, 2 Aug 2023 15:56:57 +0800 Subject: [PATCH] Make sure method name when sendMessage error --- .../apache/dubbo/rpc/protocol/tri/call/TripleClientCall.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/call/TripleClientCall.java b/dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/call/TripleClientCall.java index 4ba712e8435..3673bd5e833 100644 --- a/dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/call/TripleClientCall.java +++ b/dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/call/TripleClientCall.java @@ -188,7 +188,7 @@ public void sendMessage(Object message) { } catch (Throwable t) { LOGGER.error(PROTOCOL_FAILED_SERIALIZE_TRIPLE, "", "", String.format("Serialize triple request failed, service=%s method=%s", requestMetadata.service, - requestMetadata.method), t); + requestMetadata.method.getMethodName()), t); cancelByLocal(t); listener.onClose(TriRpcStatus.INTERNAL.withDescription("Serialize request failed") .withCause(t), null, false);