diff --git a/clientv2/client.go b/clientv2/client.go index c9c2754..fbbe731 100644 --- a/clientv2/client.go +++ b/clientv2/client.go @@ -342,6 +342,8 @@ func (c *Client) parseResponse(body []byte, httpCode int, result interface{}) er var gqlErr *GqlErrorList if errors.As(err, &gqlErr) { errResponse.GqlErrors = &gqlErr.Errors + } else if !isKOCode { + return err } }