ing
This commit is contained in:
parent
98d51353d3
commit
f60a2f912a
|
@ -21,7 +21,7 @@ func newClientCodecResponse(raw json.RawMessage) (protocol.ClientCodecResponse,
|
||||||
releaseClientCodecResponse(ccr)
|
releaseClientCodecResponse(ccr)
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
if nil == ccr.response.ID {
|
if nil == ccr.response.Result && nil == ccr.response.Error {
|
||||||
releaseClientCodecResponse(ccr)
|
releaseClientCodecResponse(ccr)
|
||||||
return nil, fmt.Errorf("This is not Response")
|
return nil, fmt.Errorf("This is not Response")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user