quiet expected errors

This commit is contained in:
Jeff Carr 2025-01-13 08:56:49 -06:00
parent 0b5caa03e5
commit ceb2d6d5c8
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ func (repo *Repo) ParseGoSum() bool {
// that means, there is not a go.sum file
// because the package is completely self contained!
if err := repo.setPrimitive(); err != nil {
log.Info("gitpb.ParseGoSum()", err)
// log.Info("gitpb.ParseGoSum()", err)
return false
}
if repo.GetGoPrimitive() {
@ -32,7 +32,7 @@ func (repo *Repo) ParseGoSum() bool {
gosum, err := os.Open(tmp)
defer gosum.Close()
if err != nil {
log.Info("gitpb.ParseGoSum()", err)
log.Info("gitpb.ParseGoSum() missing go.sum. Some error happened with go mod init & tidy", err)
return false
}