aboutsummaryrefslogtreecommitdiff
path: root/pkg/context/context.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2017-06-05 00:10:53 -0400
committerUnknwon <u@gogs.io>2017-06-05 00:10:53 -0400
commit36d6450977e40d8ea994590e3c9fd60184fe93e4 (patch)
tree411da811a540a8e6709a770ce392b9d5c58b54a8 /pkg/context/context.go
parent02a576a6a0ce6522b7b6af70bc2eea2de3f534d6 (diff)
repo/pull: detect case when no merge base found (#4434)
Diffstat (limited to 'pkg/context/context.go')
-rw-r--r--pkg/context/context.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/context/context.go b/pkg/context/context.go
index e8843cea..0b1ebbc7 100644
--- a/pkg/context/context.go
+++ b/pkg/context/context.go
@@ -153,7 +153,7 @@ func (c *Context) Handle(status int, title string, err error) {
c.Data["Title"] = "Page Not Found"
case http.StatusInternalServerError:
c.Data["Title"] = "Internal Server Error"
- log.Error(2, "%s: %v", title, err)
+ log.Error(3, "%s: %v", title, err)
if !setting.ProdMode || (c.IsLogged && c.User.IsAdmin) {
c.Data["ErrorMsg"] = err
}