diff options
author | obscuren <geffobscura@gmail.com> | 2015-02-27 03:21:41 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-02-27 03:21:41 +0800 |
commit | 76f6d75ef867e754264834fc7171d1a12f24c5bb (patch) | |
tree | a9531d9e14c15abd72625a98a21a9b988dc32319 /rpc/http | |
parent | b2a225a52e45315f3ec90e11707fefa6059d13f5 (diff) | |
parent | fa7deb10f636d89f668249b78792f8cc48146ee8 (diff) | |
download | go-tangerine-76f6d75ef867e754264834fc7171d1a12f24c5bb.tar go-tangerine-76f6d75ef867e754264834fc7171d1a12f24c5bb.tar.gz go-tangerine-76f6d75ef867e754264834fc7171d1a12f24c5bb.tar.bz2 go-tangerine-76f6d75ef867e754264834fc7171d1a12f24c5bb.tar.lz go-tangerine-76f6d75ef867e754264834fc7171d1a12f24c5bb.tar.xz go-tangerine-76f6d75ef867e754264834fc7171d1a12f24c5bb.tar.zst go-tangerine-76f6d75ef867e754264834fc7171d1a12f24c5bb.zip |
Merge branch 'master' into hotfix/0.8.5-2
Diffstat (limited to 'rpc/http')
-rw-r--r-- | rpc/http/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/http/server.go b/rpc/http/server.go index dd6ba68e3..fa66eed48 100644 --- a/rpc/http/server.go +++ b/rpc/http/server.go @@ -92,7 +92,7 @@ func (s *RpcHttpServer) apiHandler(api *rpc.EthereumApi) http.Handler { reqParsed, reqerr := JSON.ParseRequestBody(req) if reqerr != nil { - jsonerr := &rpc.RpcErrorObject{-32700, rpc.ErrorParseRequest} + jsonerr := &rpc.RpcErrorObject{-32700, "Error: Could not parse request"} JSON.Send(w, &rpc.RpcErrorResponse{JsonRpc: jsonrpcver, ID: nil, Error: jsonerr}) return } |