Skip to content

Commit

Permalink
more exception handling
Browse files Browse the repository at this point in the history
  • Loading branch information
advaita-saha committed Jan 13, 2025
1 parent dfb3b17 commit cee5fe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nrpc/nrpc.nim
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ proc syncToEngineApi(conf: NRpcConf) {.async.} =
uint64(await rpcClient.eth_blockNumber())
except CatchableError as exc:
error "Error getting block number", error = exc.msg
0'u64
quit(QuitFailure)

# Load the EL state detials and create the beaconAPI client
var
Expand Down

0 comments on commit cee5fe9

Please sign in to comment.