Commit e36d6566 authored by Brian Tiger Chow's avatar Brian Tiger Chow Committed by Juan Batiz-Benet

log unusual event

License: MIT
Signed-off-by: default avatarBrian Tiger Chow <brian@perfmode.com>
parent 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 is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment