newLPStreamReadError does not exist anymore so use another error
This commit is contained in:
parent
902c6dc692
commit
83b4943c17
|
@ -102,7 +102,7 @@ method readOnce*(
|
|||
|
||||
# Read contents of block `blockNum`
|
||||
without blk =? await self.store.getBlock(address), error:
|
||||
raise newLPStreamReadError(error)
|
||||
raise newLPStreamConnDownError(error)
|
||||
|
||||
trace "Reading bytes from store stream", manifestCid = self.manifest.cid.get(), numBlocks = self.manifest.blocksCount, blockNum, blkCid = blk.cid, bytes = readBytes, blockOffset
|
||||
|
||||
|
|
Loading…
Reference in New Issue