mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-05-29 22:13:57 +08:00
Add git command error directory on log (#13194)
This commit is contained in:
@ -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
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user