You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by la...@apache.org on 2022/04/20 07:42:25 UTC

[dubbo-go] branch bug1839 created (now 8c08d3926)

This is an automated email from the ASF dual-hosted git repository.

laurence pushed a change to branch bug1839
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git


      at 8c08d3926 Add logs

This branch includes the following new commits:

     new 8c08d3926 Add logs

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[dubbo-go] 01/01: Add logs

Posted by la...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

laurence pushed a commit to branch bug1839
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git

commit 8c08d3926aff9b133a4455cf0dc9c670e2b7ecd9
Author: LaurenceLiZhixin <38...@qq.com>
AuthorDate: Wed Apr 20 15:42:14 2022 +0800

    Add logs
---
 protocol/dubbo3/dubbo3_invoker.go | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/protocol/dubbo3/dubbo3_invoker.go b/protocol/dubbo3/dubbo3_invoker.go
index b87c0de97..fac07baa2 100644
--- a/protocol/dubbo3/dubbo3_invoker.go
+++ b/protocol/dubbo3/dubbo3_invoker.go
@@ -202,6 +202,8 @@ func (di *DubboInvoker) Invoke(ctx context.Context, invocation protocol.Invocati
 
 	methodName := invocation.MethodName()
 	triAttachmentWithErr := di.client.Invoke(methodName, in, invocation.Reply())
+	logger.Debugf("Response tri AttachmentWithError = %+v", triAttachmentWithErr)
+	logger.Debugf("Response reply = %+v", invocation.Reply())
 	result.Err = triAttachmentWithErr.GetError()
 	result.Attrs = make(map[string]interface{})
 	for k, v := range triAttachmentWithErr.GetAttachments() {