Skip to content

Commit 9f2515b

Browse files
author
简游
committed
modify log information
1 parent 8c6e36f commit 9f2515b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

collector/ckpt/ckpt_manager.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func (manager *CheckpointManager) Get() (*CheckpointContext, bool, error) {
6161
var exist bool
6262
manager.ctx, exist = manager.delegate.Get()
6363
if manager.ctx == nil {
64-
return nil, exist, fmt.Errorf("get by checkpoint manager[%v] failed", manager.Type)
64+
return nil, exist, fmt.Errorf("get by checkpoint info from db or api failed, please see err log")
6565
}
6666

6767
// check fcv

collector/ckpt/ckpt_operation.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ func (ckpt *MongoCheckpoint) Get() (*CheckpointContext, bool) {
113113
}
114114

115115
ckpt.close()
116-
LOG.Warn("%s Reload ckpt find context fail. %v", ckpt.Name, err)
116+
LOG.Error("%s Reload ckpt find context fail. %v", ckpt.Name, err)
117117
return nil, false
118118
}
119119

0 commit comments

Comments
 (0)