improve log event (#93)
* improve log event Signed-off-by: lucarin91 <lucarin@protonmail.com> * use %+v in template string Signed-off-by: lucarin91 <lucarin@protonmail.com>
This commit is contained in:
parent
7de4607b71
commit
0094ef5a69
1 changed files with 1 additions and 1 deletions
|
|
@ -292,7 +292,7 @@ func (w *Worker) eventLoop() {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
// checkpoint may not existed yet is not an error condition.
|
// checkpoint may not existed yet is not an error condition.
|
||||||
if err != chk.ErrSequenceIDNotFound {
|
if err != chk.ErrSequenceIDNotFound {
|
||||||
log.Errorf(" Error: %+v", err)
|
log.Warnf("Couldn't fetch checkpoint: %+v", err)
|
||||||
// move on to next shard
|
// move on to next shard
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue