diff --git a/config/git.go b/config/git.go index 9c36f18955dd143592412746ed472d0727c86d40..9835a4f1d9d8a06ec9f00bc603c7d8685ca2dd94 100644 --- a/config/git.go +++ b/config/git.go @@ -240,7 +240,6 @@ func (rs *RepoSource) LoadRepo(name string) error { rp := filepath.Join(rs.Path, name) r, err := rs.open(rp) if err != nil { - log.Error("error opening repository", "path", rp, "err", err) return err } rs.repos[name] = r @@ -263,7 +262,8 @@ func (rs *RepoSource) LoadRepos() error { continue } if err != nil { - return err + log.Warn("error loading repository", "path", filepath.Join(rs.Path, de.Name()), "err", err) + continue } } return nil