diff --git a/blocks/blockstore/blockstore.go b/blocks/blockstore/blockstore.go index d5a77ab23..6313cfffe 100644 --- a/blocks/blockstore/blockstore.go +++ b/blocks/blockstore/blockstore.go @@ -194,8 +194,8 @@ func (bs *blockstore) AllKeysChan(ctx context.Context) (<-chan *cid.Cid, error) return } if e.Error != nil { - log.Debug("blockstore.AllKeysChan got err:", e.Error) - continue + log.Errorf("blockstore.AllKeysChan got err:", e.Error) + return } // need to convert to key.Key using key.KeyFromDsKey.