diff options
author | Unknwon <u@gogs.io> | 2018-06-13 21:58:46 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2018-06-13 21:58:46 +0800 |
commit | e5ddbcab7d9c95f6b3043cac8bec9b8c7851ad04 (patch) | |
tree | 6da8615b3b266950b9f44df732c2dcf71d39cf36 /routes | |
parent | f9bc980b0b51844367305a347b6dbcb327c65677 (diff) |
routes/repo/http: fix wrong format type
Diffstat (limited to 'routes')
-rw-r--r-- | routes/repo/http.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/repo/http.go b/routes/repo/http.go index 15b84347..3cfe5709 100644 --- a/routes/repo/http.go +++ b/routes/repo/http.go @@ -293,7 +293,7 @@ func serviceRPC(h serviceHandler, service string) { cmd.Stderr = &stderr cmd.Stdin = reqBody if err = cmd.Run(); err != nil { - log.Error(2, "HTTP.serviceRPC: fail to serve RPC '%s': %v - %s", service, err, stderr) + log.Error(2, "HTTP.serviceRPC: fail to serve RPC '%s': %v - %s", service, err, stderr.String()) h.w.WriteHeader(http.StatusInternalServerError) return } |