aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/http/server.go
diff options
context:
space:
mode:
authorMatthew Wampler-Doty <matthew.wampler.doty@gmail.com>2015-02-28 05:13:31 +0800
committerMatthew Wampler-Doty <matthew.wampler.doty@gmail.com>2015-02-28 05:13:31 +0800
commit3820a65299831331f215e158d287fe3df3b69ea6 (patch)
treecf7b435109c646aac576ed98eefefb57e1f27223 /rpc/http/server.go
parent8653db6df0018d08212493e3a3df4677162bdd8f (diff)
parent0efd6a881afac0b3082f3b1e8780e3438eea5b02 (diff)
downloaddexon-3820a65299831331f215e158d287fe3df3b69ea6.tar
dexon-3820a65299831331f215e158d287fe3df3b69ea6.tar.gz
dexon-3820a65299831331f215e158d287fe3df3b69ea6.tar.bz2
dexon-3820a65299831331f215e158d287fe3df3b69ea6.tar.lz
dexon-3820a65299831331f215e158d287fe3df3b69ea6.tar.xz
dexon-3820a65299831331f215e158d287fe3df3b69ea6.tar.zst
dexon-3820a65299831331f215e158d287fe3df3b69ea6.zip
Merge branch 'publictests' of github.com:ebuchman/go-ethereum into ethash_pow
Diffstat (limited to 'rpc/http/server.go')
-rw-r--r--rpc/http/server.go2
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
}