forked from gitea/gitea
add log
This commit is contained in:
parent
4e88ae19d1
commit
20ec459b93
3
serve.go
3
serve.go
|
@ -217,6 +217,7 @@ func runServ(k *cli.Context) {
|
|||
}
|
||||
|
||||
time.Sleep(time.Second)
|
||||
log.Info(s)
|
||||
|
||||
// find push reference name
|
||||
var t = "ok refs/heads/"
|
||||
|
@ -235,7 +236,7 @@ func runServ(k *cli.Context) {
|
|||
}
|
||||
}
|
||||
if refname == "" {
|
||||
println("No find any reference name:", b.String())
|
||||
println("No find any reference name:", s)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue