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 | |
parent | f9bc980b0b51844367305a347b6dbcb327c65677 (diff) |
routes/repo/http: fix wrong format type
-rw-r--r-- | gogs.go | 2 | ||||
-rw-r--r-- | routes/repo/http.go | 2 | ||||
-rw-r--r-- | templates/.VERSION | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -16,7 +16,7 @@ import ( "github.com/gogs/gogs/pkg/setting" ) -const APP_VER = "0.11.56.0611" +const APP_VER = "0.11.56.0613" func init() { setting.AppVer = APP_VER 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 } diff --git a/templates/.VERSION b/templates/.VERSION index 485ba71e..613373b6 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.11.56.0611
\ No newline at end of file +0.11.56.0613
\ No newline at end of file |