Skip to content

Commit cee5fe9

Browse files
committed
more exception handling
1 parent dfb3b17 commit cee5fe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nrpc/nrpc.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ proc syncToEngineApi(conf: NRpcConf) {.async.} =
148148
uint64(await rpcClient.eth_blockNumber())
149149
except CatchableError as exc:
150150
error "Error getting block number", error = exc.msg
151-
0'u64
151+
quit(QuitFailure)
152152

153153
# Load the EL state detials and create the beaconAPI client
154154
var

0 commit comments

Comments
 (0)