mirror of
https://github.com/status-im/nim-dagger.git
synced 2025-01-20 19:50:03 +00:00
prevent node crashing with not val.isNil
(#843)
This commit is contained in:
parent
a55b676a42
commit
a79bbd459a
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user