[#1342] network/cache: Add node address to error multiClient

Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
This commit is contained in:
Alexander Chuprov 2024-12-18 19:27:14 +03:00
parent 226dd25dd0
commit 51ee132ea3
Signed by: achuprov
GPG key ID: 2D916FFD803B0EDD

View file

@ -155,7 +155,7 @@ func (x *multiClient) iterateClients(ctx context.Context, f func(clientcore.Clie
group.IterateAddresses(func(addr network.Address) bool { group.IterateAddresses(func(addr network.Address) bool {
select { select {
case <-ctx.Done(): case <-ctx.Done():
firstErr = context.Canceled firstErr = fmt.Errorf("try %v: %w", addr, context.Canceled)
return true return true
default: default:
} }