aboutsummaryrefslogtreecommitdiff
path: root/modules/context/api.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2017-03-10 23:37:25 -0500
committerUnknwon <u@gogs.io>2017-03-10 23:37:25 -0500
commit3eb57370a658a648ba504776b962d1d23cc57693 (patch)
tree44b176df7c7d13f8d31717e2346e9269b49cc0ea /modules/context/api.go
parentac8b1e595fa7ace7e2539276355954b2dceeb388 (diff)
api/repo: fix cannot reponse branch with slashes (#4198)
Diffstat (limited to 'modules/context/api.go')
-rw-r--r--modules/context/api.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/context/api.go b/modules/context/api.go
index 500452ed..a499ec3c 100644
--- a/modules/context/api.go
+++ b/modules/context/api.go
@@ -32,7 +32,7 @@ func (ctx *APIContext) Error(status int, title string, obj interface{}) {
}
if status == 500 {
- log.Error(4, "%s: %s", title, message)
+ log.Error(3, "%s: %s", title, message)
}
ctx.JSON(status, map[string]string{