summaryrefslogtreecommitdiff
path: root/doStrict.go
diff options
context:
space:
mode:
Diffstat (limited to 'doStrict.go')
-rw-r--r--doStrict.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/doStrict.go b/doStrict.go
index f5e7cfa..aeea171 100644
--- a/doStrict.go
+++ b/doStrict.go
@@ -53,6 +53,7 @@ func doStrict(repo *gitpb.Repo) error {
// actually will re-create go.sum and go.mod now
if err := redoGoMod(repo); err != nil {
+ log.Info(repo.GetGoPath(), "redoGoMod() failed", err)
return err
}
@@ -60,9 +61,14 @@ func doStrict(repo *gitpb.Repo) error {
cleanGoDepsCheckOk(repo)
// try to trim junk
if err := trimGoSum(repo); err != nil {
+ log.Info(repo.GetGoPath(), "trimGoSum() failed", err)
return err
}
- repo.ParseGoSum()
+ if repo.ParseGoSum() {
+ log.Info(repo.GetGoPath(), "ParseGoSum() ok")
+ } else {
+ log.Info(repo.GetGoPath(), "ParseGoSum() failed")
+ }
// check go.sum file
if err := cleanGoDepsCheckOk(repo); err != nil {