aboutsummaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2019-04-02 18:59:39 +0800
committerPéter Szilágyi <peterke@gmail.com>2019-04-02 20:18:05 +0800
commit3baed8dd9a173eaba704a6fb0b42efe01471b968 (patch)
treec24235a83142ea5ffda582d212da2b3060ac6393 /rpc
parentc4109d790ffd26d67feb7745d4af8a8bc5090bd9 (diff)
downloadgo-tangerine-3baed8dd9a173eaba704a6fb0b42efe01471b968.tar
go-tangerine-3baed8dd9a173eaba704a6fb0b42efe01471b968.tar.gz
go-tangerine-3baed8dd9a173eaba704a6fb0b42efe01471b968.tar.bz2
go-tangerine-3baed8dd9a173eaba704a6fb0b42efe01471b968.tar.lz
go-tangerine-3baed8dd9a173eaba704a6fb0b42efe01471b968.tar.xz
go-tangerine-3baed8dd9a173eaba704a6fb0b42efe01471b968.tar.zst
go-tangerine-3baed8dd9a173eaba704a6fb0b42efe01471b968.zip
console: handle eth.coinbase throws
Diffstat (limited to 'rpc')
-rw-r--r--rpc/handler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/handler.go b/rpc/handler.go
index bc03ef25f..92db89e2f 100644
--- a/rpc/handler.go
+++ b/rpc/handler.go
@@ -297,7 +297,7 @@ func (h *handler) handleCallMsg(ctx *callProc, msg *jsonrpcMessage) *jsonrpcMess
case msg.isCall():
resp := h.handleCall(ctx, msg)
if resp.Error != nil {
- h.log.Info("Served "+msg.Method, "reqid", idForLog{msg.ID}, "t", time.Since(start), "err", resp.Error.Message)
+ h.log.Warn("Served "+msg.Method, "reqid", idForLog{msg.ID}, "t", time.Since(start), "err", resp.Error.Message)
} else {
h.log.Debug("Served "+msg.Method, "reqid", idForLog{msg.ID}, "t", time.Since(start))
}