diff --git a/servlet/rpc-servlet.go b/servlet/rpc-servlet.go index ed8830f..64b4184 100644 --- a/servlet/rpc-servlet.go +++ b/servlet/rpc-servlet.go @@ -111,6 +111,13 @@ func (s *RPCServlets) Handle(servletCtx server.ServletCtx, grpcCtx = metadata.NewOutgoingContext(context.Background(), md) grpcReply, err = ogeg.Exec(grpcCtx, method, params...) + if nil != err { + logging.Logger().Error(err) + } + + if !src.HasResponse() { + break + } replyBuff, err = src.NewResponseWithString(grpcReply, err) if nil != err { logging.Logger().Error(err)