This is an automated email from the ASF dual-hosted git repository.
earthchen pushed a commit to branch 3.2
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/3.2 by this push:
new f7c9042e3b Make sure method name when sendMessage error (#12830)
f7c9042e3b is described below
commit f7c9042e3b1c7d075e40943419dfe6346301b855
Author: TomlongTK <[email protected]>
AuthorDate: Wed Aug 2 17:23:27 2023 +0800
Make sure method name when sendMessage error (#12830)
---
.../java/org/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 4ba712e843..3673bd5e83 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 class TripleClientCall implements ClientCall,
ClientStream.Listener {
} 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);