This commit is contained in:
crusader 2017-11-23 18:16:40 +09:00
parent 98d51353d3
commit f60a2f912a

View File

@ -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")
} }