1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-26 03:03:08 +00:00

Add git command error directory on log (#13194)

This commit is contained in:
Lunny Xiao 2020-10-18 22:10:11 +08:00 committed by GitHub
parent 25b7766673
commit 25f937f99b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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
}
}