Skip to content

Commit 4b07120

Browse files
authored
Update era_db.nim (#7075)
1 parent 94efe33 commit 4b07120

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

beacon_chain/era_db.nim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,8 +421,8 @@ proc getPartialState(
421421
try:
422422
readSszBytes(tmp.toOpenArray(0, partialBytes - 1), output)
423423
true
424-
except CatchableError:
425-
# TODO log?
424+
except CatchableError as exc:
425+
error "Failed to parse partial beacon state", slot = slot, msg = exc.msg
426426
false
427427

428428
iterator getBlockIds*(

0 commit comments

Comments
 (0)