gitea-ci: mostrar de donde viene error de git pull
Some checks failed
repro-run Corre repro-run.json

This commit is contained in:
Cat /dev/Nulo 2023-01-26 20:16:23 -03:00
parent 4ee7c2439b
commit 846ff055fa

View file

@ -192,7 +192,7 @@ func (h webhook) ServeHTTP(w http.ResponseWriter, req *http.Request) {
cmd = exec.Command("git", "clone", hook.Repository.CloneUrl, src)
}
if err = cmd.Run(); err != nil {
log.Println(err)
log.Println(cmd.Args, ":", err)
http.Error(w, "error", http.StatusInternalServerError)
return
}