summaryrefslogtreecommitdiffstats
path: root/routers/repo/http.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/repo/http.go')
-rw-r--r--routers/repo/http.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/http.go b/routers/repo/http.go
index a9a5cedc20..c0bf830969 100644
--- a/routers/repo/http.go
+++ b/routers/repo/http.go
@@ -427,7 +427,7 @@ func serviceRPC(h serviceHandler, service string) {
cmd.Stdin = reqBody
cmd.Stderr = &stderr
if err := cmd.Run(); err != nil {
- log.Error("Fail to serve RPC(%s): %v - %v", service, err, stderr)
+ log.Error("Fail to serve RPC(%s): %v - %s", service, err, stderr.String())
return
}
}