提交 e36d6566 作者: Brian Tiger Chow 提交者: Juan Batiz-Benet

log unusual event

License: MIT
Signed-off-by: 's avatarBrian Tiger Chow <brian@perfmode.com>
上级 2b60b641
......@@ -65,7 +65,8 @@ func (e *Engine) taskWorker(ctx context.Context) {
}
block, err := e.bs.Get(nextTask.Entry.Key)
if err != nil {
continue // TODO maybe return an error
log.Warning("engine: task exists to send block, but block is not in blockstore")
continue
}
// construct message here so we can make decisions about any additional
// information we may want to include at this time.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论