This commit is contained in:
crusader 2018-07-03 15:01:00 +09:00
parent a9a6e238c7
commit 2306e56e9b

View File

@ -180,10 +180,10 @@ func (s *ContainerServlets) writeError(src crp.ServerRequestCodec, writeChan cha
Data: data, Data: data,
} }
messageType, resMessage, err := src.NewResponse(nil, pErr) resMessageType, resMessage, err := src.NewResponse(nil, pErr)
if nil != err { if nil != err {
logging.Logger().Error(err) logging.Logger().Error(err)
return return
} }
writeChan <- css.MakeSocketMessage(messageType, resMessage) writeChan <- css.MakeSocketMessage(resMessageType, resMessage)
} }