ing
This commit is contained in:
parent
4a4efdd0ef
commit
2aebcbab5e
|
@ -21,7 +21,11 @@ func (sh *ServletHandlers) Invoke(requestCodec protocol.RegistryCodec) (result i
|
||||||
|
|
||||||
result, err = sh.RPCRegistry.Invoke(requestCodec)
|
result, err = sh.RPCRegistry.Invoke(requestCodec)
|
||||||
if nil != err {
|
if nil != err {
|
||||||
|
if params, pErr := requestCodec.Params(); nil != err {
|
||||||
|
logging.Logger().Error(fmt.Sprintf("RPC Servlet Handler: Read Param of Method[%s] returns error %v", requestCodec.Method(), pErr))
|
||||||
|
} else {
|
||||||
|
logging.Logger().Error(fmt.Sprintf("RPC Servlet Handler: Method[%s] params[%v] returns error %v", requestCodec.Method(), params, err))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue
Block a user