[#256] pool/tree: Add node address to error
Some checks failed
DCO / DCO (pull_request) Failing after 37s
Tests and linters / Tests (1.22) (pull_request) Successful in 50s
Tests and linters / Tests (1.21) (pull_request) Successful in 55s
Tests and linters / Lint (pull_request) Successful in 1m59s

Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
This commit is contained in:
Denis Kirillov 2024-08-19 16:17:26 +03:00
parent 5ac51bc6e5
commit 50d6b9bbf1

View file

@ -836,6 +836,11 @@ LOOP:
if startI != indexI || startJ != indexJ {
p.setStartIndices(indexI, indexJ)
}
if err != nil {
err = fmt.Errorf("address %s: %w", p.innerPools[indexI].clients[indexJ].endpoint(), err)
}
return err
}