diff options
Diffstat (limited to 'internal/context/context.go')
-rw-r--r-- | internal/context/context.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/context/context.go b/internal/context/context.go index 4e555280..44bb6eed 100644 --- a/internal/context/context.go +++ b/internal/context/context.go @@ -173,7 +173,7 @@ func (c *Context) Handle(status int, msg string, err error) { c.Data["Title"] = "Page Not Found" case http.StatusInternalServerError: c.Data["Title"] = "Internal Server Error" - log.Error("%s: %v", msg, err) + log.ErrorDepth(5, "%s: %v", msg, err) if !conf.IsProdMode() || (c.IsLogged && c.User.IsAdmin) { c.Data["ErrorMsg"] = err } |