[#195] services/object: Write debug log messages on worker pool errors

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-11-23 15:23:32 +03:00 committed by Alex Vanin
parent fa6e4a3ca4
commit 46dab77705
6 changed files with 26 additions and 8 deletions

View file

@ -205,7 +205,9 @@ loop:
nextRange.SetOffset(nextRange.GetOffset() + uw)
}); err != nil {
wg.Done()
// TODO: log error
svcutil.LogWorkerPoolError(p.log, "RANGE", err)
break loop
}