[#1230] replicator: Improve error log
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
14ea7b2c47
commit
e38d7dda6b
1 changed files with 3 additions and 1 deletions
|
@ -52,7 +52,9 @@ func (p *Replicator) HandleTask(ctx context.Context, task *Task) {
|
||||||
|
|
||||||
obj, err := engine.Get(p.localStorage, task.addr)
|
obj, err := engine.Get(p.localStorage, task.addr)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
p.log.Error("could not get object from local storage")
|
p.log.Error("could not get object from local storage",
|
||||||
|
zap.Stringer("object", task.addr),
|
||||||
|
zap.Error(err))
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue