From 83b4943c177a80e37da76dee60bbca67404d7e16 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Wed, 18 Dec 2024 16:51:07 +0100 Subject: [PATCH] newLPStreamReadError does not exist anymore so use another error --- codex/streams/storestream.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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