MSP-5160 fix handleError
This commit is contained in:
1 parent
02cc03e744
commit
7cd5b507c4
1 file changed
+1
@@ -117,6 +117,7 @@ func (p Grpc) handleError(err error, w http.ResponseWriter) error {
|
||||
case *isp.Message:
|
||||
switch {
|
||||
case typeOfDetail.GetBytesBody() != nil:
|
||||
return p.writeResponse(statusCode, typeOfDetail.GetBytesBody(), "", w)
|
||||
case typeOfDetail.GetListBody() != nil:
|
||||
return p.writeProto(statusCode, typeOfDetail.GetListBody(), w)
|
||||
case typeOfDetail.GetStructBody() != nil:
|
||||
|
||||
Reference in new issue
Block a user