Browse Source

Add git command error directory on log (#13194)

tags/v1.15.0-dev
Lunny Xiao 4 years ago committed by GitHub
parent
commit
25f937f99b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      routers/repo/http.go

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

Loading…
Cancel
Save