network/cache: Add node address to error multiClient #1562
1 changed files with 1 additions and 1 deletions
2
pkg/network/cache/multi.go
vendored
2
pkg/network/cache/multi.go
vendored
|
@ -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)
|
||||||
achuprov marked this conversation as resolved
Outdated
|
|||||||
return true
|
return true
|
||||||
default:
|
default:
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue
This error doesn't seem to be
client connection
error as you're not establishing any connection yet at this moment - this is performed below.So, how about?
How about just
try %v: %w
?@fyrchik fixed