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:37 UTC

[dubbo-go] 01/01: debug demo

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()),
 		),
 	}
 }