diff --git a/pkg/detectors/github/v1/github_old.go b/pkg/detectors/github/v1/github_old.go index 8989bac47625..a8ac717e6c97 100644 --- a/pkg/detectors/github/v1/github_old.go +++ b/pkg/detectors/github/v1/github_old.go @@ -124,6 +124,7 @@ func (s Scanner) VerifyGithub(ctx context.Context, client *http.Client, token st res, err := client.Do(req) if err != nil { requestErr = err + continue } if res.StatusCode >= 200 && res.StatusCode < 300 {