likyh commented on code in PR #4190:
URL:
https://github.com/apache/incubator-devlake/pull/4190#discussion_r1066540109
##########
plugins/helper/graphql_async_client.go:
##########
@@ -163,6 +164,9 @@ func (apiClient *GraphqlAsyncClient) Query(q interface{},
variables map[string]i
default:
var dataErrors []graphql.DataError
dataErrors, err :=
apiClient.client.Query(apiClient.ctx, q, variables)
+ if err == context.Canceled {
+ return nil, errors.Default.Wrap(err, `context
canceled`)
+ }
Review Comment:
yeah, return type defined for this type
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]