More clear error message when a validator exit was rejected
This commit is contained in:
parent
a0689e4237
commit
c8c819359c
|
@ -386,7 +386,7 @@ type
|
|||
|
||||
rpcUrlForExit* {.
|
||||
name: "rpc-url"
|
||||
defaultValue: parseUri("wss://localhost:" & $defaultEth2RpcPort)
|
||||
defaultValue: parseUri("http://localhost:" & $defaultEth2RpcPort)
|
||||
desc: "URL of the beacon node JSON-RPC service" }: Uri
|
||||
|
||||
exitAtEpoch* {.
|
||||
|
|
|
@ -1272,7 +1272,8 @@ proc handleValidatorExitCommand(config: BeaconNodeConf) {.async.} =
|
|||
echo "The voluntary exit was not submitted successfully. Please try again."
|
||||
quit 1
|
||||
except CatchableError as err:
|
||||
fatal "Failed to send the signed exit message to the beacon node RPC"
|
||||
fatal "Failed to send the signed exit message to the beacon node RPC",
|
||||
err = err.msg
|
||||
quit 1
|
||||
|
||||
programMain:
|
||||
|
|
Loading…
Reference in New Issue