diff --git a/server/servlet_handlers.go b/server/servlet_handlers.go index eaebba4..1dc7c45 100644 --- a/server/servlet_handlers.go +++ b/server/servlet_handlers.go @@ -21,7 +21,11 @@ func (sh *ServletHandlers) Invoke(requestCodec protocol.RegistryCodec) (result i result, err = sh.RPCRegistry.Invoke(requestCodec) 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