mirror of https://github.com/status-im/op-geth.git
fix logging jsonrpc request #1365
This commit is contained in:
parent
be935bff84
commit
d05305473e
|
@ -42,7 +42,7 @@ func (self *MergedApi) Methods() []string {
|
||||||
|
|
||||||
// Call the correct API's Execute method for the given request
|
// Call the correct API's Execute method for the given request
|
||||||
func (self *MergedApi) Execute(req *shared.Request) (interface{}, error) {
|
func (self *MergedApi) Execute(req *shared.Request) (interface{}, error) {
|
||||||
glog.V(logger.Detail).Infof("rpc method: %s", req.Method)
|
glog.V(logger.Detail).Infof("%s %s", req.Method, req.Params)
|
||||||
|
|
||||||
if res, _ := self.handle(req); res != nil {
|
if res, _ := self.handle(req); res != nil {
|
||||||
return res, nil
|
return res, nil
|
||||||
|
|
Loading…
Reference in New Issue