diff --git a/codex/streams/storestream.nim b/codex/streams/storestream.nim index 8a3b1a3c..009a1a8a 100644 --- a/codex/streams/storestream.nim +++ b/codex/streams/storestream.nim @@ -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