mirror of
https://github.com/status-im/status-go.git
synced 2025-02-04 02:44:42 +00:00
Don't hide RPC error reason.
This commit is contained in:
parent
4c0bab24b3
commit
f7baca7835
@ -94,7 +94,7 @@ func (b *StatusBackend) startNode(config *params.NodeConfig) (err error) {
|
||||
if err != nil {
|
||||
switch err.(type) {
|
||||
case node.RPCClientError:
|
||||
err = node.ErrRPCClient
|
||||
err = fmt.Errorf("%v: %v", node.ErrRPCClient, err)
|
||||
case node.EthNodeError:
|
||||
err = fmt.Errorf("%v: %v", node.ErrNodeStartFailure, err)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user