We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c28d9b commit d506d50Copy full SHA for d506d50
clientv2/client.go
@@ -437,7 +437,7 @@ func (c *Client) unmarshal(data []byte, res any) error {
437
}
438
439
var err error
440
- if resp.Errors != nil && len(resp.Errors) > 0 {
+ if len(resp.Errors) > 0 {
441
// try to parse standard graphql error
442
err = &GqlErrorList{}
443
if e := json.Unmarshal(data, err); e != nil {
0 commit comments