From e0bd8fa9ed8ec16156ef24f110d71e97019d8ffe Mon Sep 17 00:00:00 2001 From: chgz Date: Mon, 21 Jun 2021 11:47:59 +0800 Subject: [PATCH] err of remote call should be added with routing information --- service/remote.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/remote.go b/service/remote.go index 45d262f3..73c7b07c 100644 --- a/service/remote.go +++ b/service/remote.go @@ -424,7 +424,7 @@ func (r *RemoteService) remoteCall( res, err := r.rpcClient.Call(ctx, rpcType, route, session, msg, target) if err != nil { - logger.Log.Errorf("error making call to target with id %s and host %s: %w", target.ID, target.Hostname, err) + logger.Log.Errorf("error making call to target with id %s route %s and host %s: %w", target.ID, route.String(), target.Hostname, err) return nil, err } return res, err