ing
This commit is contained in:
parent
70b50d14bb
commit
280cda6238
|
@ -132,7 +132,7 @@ func (src *ServerRequestCodec) NewResponseWithString(reply string, err error) ([
|
||||||
res := src.newServerResponse(nil, err)
|
res := src.newServerResponse(nil, err)
|
||||||
|
|
||||||
r := strings.TrimSpace(reply)
|
r := strings.TrimSpace(reply)
|
||||||
if "" != r {
|
if nil == err && "" != r {
|
||||||
var i interface{}
|
var i interface{}
|
||||||
mErr := json.Unmarshal([]byte(r), &i)
|
mErr := json.Unmarshal([]byte(r), &i)
|
||||||
if nil != mErr {
|
if nil != mErr {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user