Don't hide RPC error reason.

This commit is contained in:
Igor Mandrigin 2018-02-27 11:13:43 +01:00 committed by Igor Mandrigin
parent 4c0bab24b3
commit f7baca7835
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}