diff options
author | Unknwon <u@gogs.io> | 2017-06-05 00:10:53 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-06-05 00:10:53 -0400 |
commit | 36d6450977e40d8ea994590e3c9fd60184fe93e4 (patch) | |
tree | 411da811a540a8e6709a770ce392b9d5c58b54a8 /pkg/context/context.go | |
parent | 02a576a6a0ce6522b7b6af70bc2eea2de3f534d6 (diff) |
repo/pull: detect case when no merge base found (#4434)
Diffstat (limited to 'pkg/context/context.go')
-rw-r--r-- | pkg/context/context.go | 2 |
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 } |