From 0094ef5a69b5c00a65892444983872cd475978e7 Mon Sep 17 00:00:00 2001 From: Luca Rinaldi Date: Fri, 23 Jul 2021 14:03:31 +0200 Subject: [PATCH] improve log event (#93) * improve log event Signed-off-by: lucarin91 * use %+v in template string Signed-off-by: lucarin91 --- clientlibrary/worker/worker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clientlibrary/worker/worker.go b/clientlibrary/worker/worker.go index fb2dd4a..339a7ba 100644 --- a/clientlibrary/worker/worker.go +++ b/clientlibrary/worker/worker.go @@ -292,7 +292,7 @@ func (w *Worker) eventLoop() { if err != nil { // checkpoint may not existed yet is not an error condition. if err != chk.ErrSequenceIDNotFound { - log.Errorf(" Error: %+v", err) + log.Warnf("Couldn't fetch checkpoint: %+v", err) // move on to next shard continue }