]> source.dussan.org Git - gitea.git/commitdiff
Add git command error directory on log (#13194)
authorLunny Xiao <xiaolunwen@gmail.com>
Sun, 18 Oct 2020 14:10:11 +0000 (22:10 +0800)
committerGitHub <noreply@github.com>
Sun, 18 Oct 2020 14:10:11 +0000 (17:10 +0300)
routers/repo/http.go

index 23f2665dfd3a7dd41fd8af35c5a0992228c52af6..c7523c7932a6670a7ac1025ba3c41ef8f0fc1d29 100644 (file)
@@ -576,7 +576,7 @@ func serviceRPC(h serviceHandler, service string) {
        defer process.GetManager().Remove(pid)
 
        if err := cmd.Run(); err != nil {
-               log.Error("Fail to serve RPC(%s): %v - %s", service, err, stderr.String())
+               log.Error("Fail to serve RPC(%s) in %s: %v - %s", service, h.dir, err, stderr.String())
                return
        }
 }