mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-17 08:56:45 +00:00
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* {.
|
rpcUrlForExit* {.
|
||||||
name: "rpc-url"
|
name: "rpc-url"
|
||||||
defaultValue: parseUri("wss://localhost:" & $defaultEth2RpcPort)
|
defaultValue: parseUri("http://localhost:" & $defaultEth2RpcPort)
|
||||||
desc: "URL of the beacon node JSON-RPC service" }: Uri
|
desc: "URL of the beacon node JSON-RPC service" }: Uri
|
||||||
|
|
||||||
exitAtEpoch* {.
|
exitAtEpoch* {.
|
||||||
|
@ -1272,7 +1272,8 @@ proc handleValidatorExitCommand(config: BeaconNodeConf) {.async.} =
|
|||||||
echo "The voluntary exit was not submitted successfully. Please try again."
|
echo "The voluntary exit was not submitted successfully. Please try again."
|
||||||
quit 1
|
quit 1
|
||||||
except CatchableError as err:
|
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
|
quit 1
|
||||||
|
|
||||||
programMain:
|
programMain:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user