Przeglądaj źródła

routes/repo/http: fix wrong format type

Unknwon 6 lat temu
rodzic
commit
e5ddbcab7d
3 zmienionych plików z 3 dodań i 3 usunięć
  1. 1 1
      gogs.go
  2. 1 1
      routes/repo/http.go
  3. 1 1
      templates/.VERSION

+ 1 - 1
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

+ 1 - 1
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
 	}

+ 1 - 1
templates/.VERSION

@@ -1 +1 @@
-0.11.56.0611
+0.11.56.0613