Skip to content

Commit

Permalink
Wrong loglevel
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei-Predoiu committed Sep 23, 2024
1 parent 439865b commit b7c374a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dependabot/dependabot.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func gatherUpdates(wg *sync.WaitGroup, entityCount *atomic.Int32, ctx context.Co
fileContent, directoryContent, resp, err := client.Repositories.GetContents(context.Background(), repoInfo.repoOwner, repoInfo.repoName, pathInRepo, options)
if err != nil {
if resp != nil && resp.StatusCode == 404 {
log.Error().Err(err).Msgf("file not found %s", repoInfo.repoName)
log.Warn().Err(err).Msgf("file not found %s", repoInfo.repoName)
return
}
log.Error().Err(err).Msgf("could not parseRepoContent %s", repoInfo.repoName)
Expand Down
4 changes: 4 additions & 0 deletions static-analysis.datadog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
schema-version: v1
rulesets:
- go-best-practices
- go-security

0 comments on commit b7c374a

Please sign in to comment.