Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion backend/helpers/pluginhelper/api/graphql_collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import (
"encoding/json"
"net/http"
"reflect"
"strings"
"time"

"github.com/apache/incubator-devlake/core/dal"
Expand Down Expand Up @@ -276,7 +277,11 @@ func (collector *GraphqlCollector) fetchAsync(reqData *GraphqlRequestData, handl
if len(dataErrors) > 0 {
if !collector.args.IgnoreQueryErrors {
for _, dataError := range dataErrors {
collector.checkError(errors.Default.Wrap(dataError, `graphql query got error`))
if strings.Contains(dataError.Error(), "Could not resolve to an Issue") {
logger.Warn(nil, "Issue may have been transferred.")
} else {
collector.checkError(errors.Default.Wrap(dataError, `graphql query got error`))
}
}
return
}
Expand Down