1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-23 02:38:35 +00:00
This commit is contained in:
Lunny Xiao
2021-01-14 23:35:10 +08:00
committed by GitHub
parent edbc5c86df
commit f76c30094f
2 changed files with 2 additions and 2 deletions

View File

@@ -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 {