diff options
author | ᴜɴᴋɴᴡᴏɴ <u@gogs.io> | 2020-08-16 21:31:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-16 21:31:08 +0800 |
commit | a961afe52bf94f71e917e05e366a4b71834a2e84 (patch) | |
tree | 707888480fd9e01a74ce636100cef93e5fe4e635 /internal/context | |
parent | f667d139bc3a8ff795e7c6e1b980ab1997e428e2 (diff) |
db: fix update team panic (#6253)
* db: fix update team panic
* Update CHANGELOG
Diffstat (limited to 'internal/context')
-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 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") |