diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2020-10-18 22:10:11 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-18 17:10:11 +0300 |
commit | 25f937f99b17485db953711ed12562f191caa10d (patch) | |
tree | 140fe8c6407c5829e58fc0f320c2f5fc8e995826 /routers | |
parent | 25b7766673867d2a9ac32fde6cb0d719f04b2953 (diff) | |
download | gitea-25f937f99b17485db953711ed12562f191caa10d.tar.gz gitea-25f937f99b17485db953711ed12562f191caa10d.zip |
Add git command error directory on log (#13194)
Diffstat (limited to 'routers')
-rw-r--r-- | routers/repo/http.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/http.go b/routers/repo/http.go index 23f2665dfd..c7523c7932 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 } } |