mirror of
https://github.com/ipfs/kubo.git
synced 2025-07-01 19:24:14 +08:00
log unusual event
License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
This commit is contained in:

committed by
Juan Batiz-Benet

parent
2b60b641c4
commit
e36d656632
@ -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.
|
||||
|
Reference in New Issue
Block a user