This commit is contained in:
crusader 2018-04-19 23:45:56 +09:00
parent 5c65823a90
commit 134a725006

View File

@ -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)