diff --git a/local/local.go b/local/local.go index 577fb19..2c7d1c1 100644 --- a/local/local.go +++ b/local/local.go @@ -82,8 +82,16 @@ func Locally(repo types.Repo, l types.Local, dry bool) { err := cloneRepository(repo, auth, dry) if err != nil { + if err.Error() == "repository not found" { + log.Warn(). + Str("stage", "locally"). + Str("path", l.Path). + Str("repo", repo.Name). + Msg(err.Error()) + break + } if x == tries { - log.Fatal(). + log.Warn(). Str("stage", "locally"). Str("path", l.Path). Str("repo", repo.Name). diff --git a/whatever/whatever.go b/whatever/whatever.go index 5064eea..e2504f9 100644 --- a/whatever/whatever.go +++ b/whatever/whatever.go @@ -17,10 +17,10 @@ import ( // Get TODO. func Get(conf *types.Conf) []types.Repo { repos := []types.Repo{} + log.Info(). + Str("stage", "whatever"). + Msgf("adding repos") for _, repo := range conf.Source.Any { - log.Info(). - Str("stage", "whatever"). - Msgf("adding repos") if repo.URL == "" { log.Error(). Str("stage", "whatever").