diff options
author | Paweł Bylica <pawel.bylica@imapp.pl> | 2015-03-03 01:46:55 +0800 |
---|---|---|
committer | Paweł Bylica <pawel.bylica@imapp.pl> | 2015-03-03 01:46:55 +0800 |
commit | 24003c76d12b83602ca93be375a3bc19f4fb3f1b (patch) | |
tree | 90e77c349df52806d78693f93704b92786fcb693 /rpc/ws | |
parent | 9c6d9dfc5c9fdd9aeb8f4d9926ed98008b849f2e (diff) | |
parent | 65cad14f9b27db396d036f47814d4843d947ac43 (diff) | |
download | dexon-24003c76d12b83602ca93be375a3bc19f4fb3f1b.tar dexon-24003c76d12b83602ca93be375a3bc19f4fb3f1b.tar.gz dexon-24003c76d12b83602ca93be375a3bc19f4fb3f1b.tar.bz2 dexon-24003c76d12b83602ca93be375a3bc19f4fb3f1b.tar.lz dexon-24003c76d12b83602ca93be375a3bc19f4fb3f1b.tar.xz dexon-24003c76d12b83602ca93be375a3bc19f4fb3f1b.tar.zst dexon-24003c76d12b83602ca93be375a3bc19f4fb3f1b.zip |
Merge remote-tracking branch 'upstream/develop' into evmjit
Diffstat (limited to 'rpc/ws')
-rw-r--r-- | rpc/ws/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/ws/server.go b/rpc/ws/server.go index b8cc2fa6b..2c2988f5d 100644 --- a/rpc/ws/server.go +++ b/rpc/ws/server.go @@ -99,7 +99,7 @@ func sockHandler(api *rpc.EthereumApi) websocket.Handler { // reqParsed, reqerr := JSON.ParseRequestBody(conn.Request()) if err := websocket.JSON.Receive(conn, &reqParsed); err != nil { - jsonerr := &rpc.RpcErrorObject{-32700, rpc.ErrorParseRequest} + jsonerr := &rpc.RpcErrorObject{-32700, "Error: Could not parse request"} JSON.Send(conn, &rpc.RpcErrorResponse{JsonRpc: jsonrpcver, ID: nil, Error: jsonerr}) continue } |