Ver Fonte

hosts: dropped error (#417)

Lars Lehtonen há 5 anos atrás
pai
commit
6129b1a15d
1 ficheiros alterados com 4 adições e 0 exclusões
  1. 4 0
      hosts/gitlab.go

+ 4 - 0
hosts/gitlab.go

@@ -93,6 +93,10 @@ func (g *Gitlab) Scan() {
 		cloneOpts := g.manager.CloneOptions
 		cloneOpts.URL = p.HTTPURLToRepo
 		err := r.Clone(cloneOpts)
+		if err != nil {
+			log.Error(err)
+			continue
+		}
 		// TODO handle clone retry with ssh like github host
 		r.Name = p.Name