Skip to content

Commit

Permalink
err of remote call should be added with routing information
Browse files Browse the repository at this point in the history
  • Loading branch information
chgz committed Jun 21, 2021
1 parent fca4172 commit e0bd8fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/remote.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e0bd8fa

Please sign in to comment.