gitea-ci: mostrar de donde viene error de git pull
Some checks failed
repro-run Corre repro-run.json
Some checks failed
repro-run Corre repro-run.json
This commit is contained in:
parent
4ee7c2439b
commit
846ff055fa
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ func (h webhook) ServeHTTP(w http.ResponseWriter, req *http.Request) {
|
||||||
cmd = exec.Command("git", "clone", hook.Repository.CloneUrl, src)
|
cmd = exec.Command("git", "clone", hook.Repository.CloneUrl, src)
|
||||||
}
|
}
|
||||||
if err = cmd.Run(); err != nil {
|
if err = cmd.Run(); err != nil {
|
||||||
log.Println(err)
|
log.Println(cmd.Args, ":", err)
|
||||||
http.Error(w, "error", http.StatusInternalServerError)
|
http.Error(w, "error", http.StatusInternalServerError)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue