aboutsummaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2021-01-14 23:35:10 +0800
committerGitHub <noreply@github.com>2021-01-14 23:35:10 +0800
commitf76c30094f086162d09926a95e9a75c91177a674 (patch)
treed68197d41a3f6cf0a2f86b2310752e0f128ece93 /routers
parentedbc5c86dfda07a0eada0acd7461a610fee00ae3 (diff)
downloadgitea-f76c30094f086162d09926a95e9a75c91177a674.tar.gz
gitea-f76c30094f086162d09926a95e9a75c91177a674.zip
Fix typo (#14332)
Diffstat (limited to 'routers')
-rw-r--r--routers/routes/recovery.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/routes/recovery.go b/routers/routes/recovery.go
index f392d1d553..7f33fee0f3 100644
--- a/routers/routes/recovery.go
+++ b/routers/routes/recovery.go
@@ -95,7 +95,7 @@ func Recovery() func(next http.Handler) http.Handler {
w.Header().Set(`X-Frame-Options`, `SAMEORIGIN`)
if setting.RunMode != "prod" {
- store.Data["ErrMsg"] = combinedErr
+ store.Data["ErrorMsg"] = combinedErr
}
err = rnd.HTML(w, 500, "status/500", templates.BaseVars().Merge(store.Data))
if err != nil {