quiet expected errors
This commit is contained in:
parent
0b5caa03e5
commit
ceb2d6d5c8
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue