diff --git a/codex/node.nim b/codex/node.nim index 15ca1466..f2bcb289 100644 --- a/codex/node.nim +++ b/codex/node.nim @@ -257,7 +257,10 @@ proc streamEntireDataset( leoDecoderProvider, self.taskpool) without _ =? (await erasure.decode(manifest)), error: - trace "Unable to erasure decode manifest", manifestCid, exc = error.msg + error "Unable to erasure decode manifest", manifestCid, exc = error.msg + return failure(error) + + return success() # -------------------------------------------------------------------------- # FIXME this is a HACK so that the node does not crash during the workshop. # We should NOT catch Defect.