From 36d6450977e40d8ea994590e3c9fd60184fe93e4 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Mon, 5 Jun 2017 00:10:53 -0400 Subject: repo/pull: detect case when no merge base found (#4434) --- pkg/context/context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/context') 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 } -- cgit v1.2.3