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
|
// that means, there is not a go.sum file
|
||||||
// because the package is completely self contained!
|
// because the package is completely self contained!
|
||||||
if err := repo.setPrimitive(); err != nil {
|
if err := repo.setPrimitive(); err != nil {
|
||||||
log.Info("gitpb.ParseGoSum()", err)
|
// log.Info("gitpb.ParseGoSum()", err)
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
if repo.GetGoPrimitive() {
|
if repo.GetGoPrimitive() {
|
||||||
|
@ -32,7 +32,7 @@ func (repo *Repo) ParseGoSum() bool {
|
||||||
gosum, err := os.Open(tmp)
|
gosum, err := os.Open(tmp)
|
||||||
defer gosum.Close()
|
defer gosum.Close()
|
||||||
if err != nil {
|
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
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue