Skip to content

Commit

Permalink
Make sure method name when sendMessage error (#12830)
Browse files Browse the repository at this point in the history
  • Loading branch information
finefuture authored Aug 2, 2023
1 parent 0f9c8b5 commit f7c9042
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f7c9042

Please sign in to comment.