From 25f937f99b17485db953711ed12562f191caa10d Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sun, 18 Oct 2020 22:10:11 +0800 Subject: [PATCH] Add git command error directory on log (#13194) --- routers/repo/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/repo/http.go b/routers/repo/http.go index 23f2665dfd3a..c7523c7932a6 100644 --- a/routers/repo/http.go +++ b/routers/repo/http.go @@ -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 } }