From a961afe52bf94f71e917e05e366a4b71834a2e84 Mon Sep 17 00:00:00 2001 From: ᴜɴᴋɴᴡᴏɴ Date: Sun, 16 Aug 2020 21:31:08 +0800 Subject: db: fix update team panic (#6253) * db: fix update team panic * Update CHANGELOG --- internal/context/context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/context') diff --git a/internal/context/context.go b/internal/context/context.go index a34398a2..d05767ba 100644 --- a/internal/context/context.go +++ b/internal/context/context.go @@ -179,7 +179,7 @@ func (c *Context) NotFound() { // Error renders the 500 page. func (c *Context) Error(err error, msg string) { - log.ErrorDepth(5, "%s: %v", msg, err) + log.ErrorDepth(4, "%s: %v", msg, err) c.Title("status.internal_server_error") -- cgit v1.2.3