From e38d7dda6b9f6f1a6694641aebdbf3c87943b547 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Thu, 10 Mar 2022 19:13:44 +0300 Subject: [PATCH] [#1230] replicator: Improve error log Signed-off-by: Alex Vanin --- pkg/services/replicator/process.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/services/replicator/process.go b/pkg/services/replicator/process.go index aca81e4b..3ea435ff 100644 --- a/pkg/services/replicator/process.go +++ b/pkg/services/replicator/process.go @@ -52,7 +52,9 @@ func (p *Replicator) HandleTask(ctx context.Context, task *Task) { obj, err := engine.Get(p.localStorage, task.addr) 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 }