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
The following commit(s) were added to refs/heads/bug1839 by this push:
new 973530b8f fix add attachment err
973530b8f is described below
commit 973530b8f05d7f27843a5b50b2e9ae1e3793f5f8
Author: LaurenceLiZhixin <[email protected]>
AuthorDate: Wed Apr 20 15:49:31 2022 +0800
fix add attachment err
---
protocol/dubbo3/dubbo3_invoker.go | 1 +
1 file changed, 1 insertion(+)
diff --git a/protocol/dubbo3/dubbo3_invoker.go
b/protocol/dubbo3/dubbo3_invoker.go
index fac07baa2..57f276a2f 100644
--- a/protocol/dubbo3/dubbo3_invoker.go
+++ b/protocol/dubbo3/dubbo3_invoker.go
@@ -203,6 +203,7 @@ 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 tri Error = %+v",
triAttachmentWithErr.GetError())
logger.Debugf("Response reply = %+v", invocation.Reply())
result.Err = triAttachmentWithErr.GetError()
result.Attrs = make(map[string]interface{})