1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-06-12 22:07:47 +02:00

grpc request

This commit is contained in:
Asim Aslam
2019-01-13 19:54:07 +00:00
parent e1bc240a14
commit c17d0fcc0f
3 changed files with 24 additions and 7 deletions

View File

@ -153,8 +153,8 @@ func (s *rpcServer) ServeConn(sock transport.Socket) {
// write an error response
rcodec.Write(&codec.Message{
Header: msg.Header,
Error: err.Error(),
Type: codec.Error,
Error: err.Error(),
Type: codec.Error,
}, nil)
s.wg.Done()