1
0
Fork 0
forked from forgejo/forgejo

s/Gitea/Forgejo in various log messages and comments

(cherry picked from commit 469c214ec8)
This commit is contained in:
0ko 2024-04-21 21:26:15 +05:00 committed by GitHub
parent 4433cd9793
commit c7ba51518c
19 changed files with 32 additions and 32 deletions

View file

@ -136,11 +136,11 @@ func wrapTmplErrMsg(msg string) {
return
}
if setting.IsProd {
// in prod mode, Gitea must have correct templates to run
log.Fatal("Gitea can't run with template errors: %s", msg)
// in prod mode, Forgejo must have correct templates to run
log.Fatal("Forgejo can't run with template errors: %s", msg)
} else {
// in dev mode, do not need to really exit, because the template errors could be fixed by developer soon and the templates get reloaded
log.Error("There are template errors but Gitea continues to run in dev mode: %s", msg)
log.Error("There are template errors but Forgejo continues to run in dev mode: %s", msg)
}
}