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 06:32:36 UTC

[dubbo-go] branch debug-demo created (now 07882931c)

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

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


      at 07882931c debug demo

This branch includes the following new commits:

     new 07882931c debug demo

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: debug demo

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

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

commit 07882931c05028add8a7701cc39c6f74ab54944d
Author: LaurenceLiZhixin <38...@qq.com>
AuthorDate: Wed Apr 20 14:31:59 2022 +0800

    debug demo
---
 cluster/cluster/failover/cluster_invoker.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cluster/cluster/failover/cluster_invoker.go b/cluster/cluster/failover/cluster_invoker.go
index d217fa4c9..4df3a9358 100644
--- a/cluster/cluster/failover/cluster_invoker.go
+++ b/cluster/cluster/failover/cluster_invoker.go
@@ -103,8 +103,8 @@ func (invoker *failoverClusterInvoker) Invoke(ctx context.Context, invocation pr
 	return &protocol.RPCResult{
 		Err: perrors.Wrap(result.Error(), fmt.Sprintf("Failed to invoke the method %v in the service %v. "+
 			"Tried %v times of the providers %v (%v/%v)from the registry %v on the consumer %v using the dubbo version %v. "+
-			"Last error is %+v.", methodName, invokerSvc, retries, providers, len(providers), len(invokers),
-			invokerUrl, ip, constant.Version, result.Error().Error()),
+			"Last error is %s.", methodName, invokerSvc, retries, providers, len(providers), len(invokers),
+			invokerUrl, ip, constant.Version, result.Error()),
 		),
 	}
 }