Better error reporting in the console. Updated ethereum.js

This commit is contained in:
obscuren
2015-03-24 17:49:28 +01:00
parent 9de1ad6546
commit c38a3b4cc7
5 changed files with 28 additions and 14 deletions

View File

@ -50,7 +50,7 @@ func (api *EthereumApi) Close() {
func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) error {
// Spec at https://github.com/ethereum/wiki/wiki/Generic-JSON-RPC
rpclogger.Debugf("%s %s", req.Method, req.Params)
rpclogger.Infof("%s %s", req.Method, req.Params)
switch req.Method {
case "web3_sha3":