From e5ddbcab7d9c95f6b3043cac8bec9b8c7851ad04 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Wed, 13 Jun 2018 21:58:46 +0800 Subject: routes/repo/http: fix wrong format type --- gogs.go | 2 +- routes/repo/http.go | 2 +- templates/.VERSION | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gogs.go b/gogs.go index f237fe4e..e6aeb882 100644 --- a/gogs.go +++ b/gogs.go @@ -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 -- cgit v1.2.3