summaryrefslogtreecommitdiffstats
path: root/routers/init.go
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2021-11-10 02:55:24 +0800
committerGitHub <noreply@github.com>2021-11-09 13:55:24 -0500
commitb6b1e716654fec3b16d245ef65cf42e57e1bb5b6 (patch)
tree95e4ed83e04839d3e0526261cea6fb8493699189 /routers/init.go
parentaa4355ba1f3760f9c84178c613e692bf91a18967 (diff)
downloadgitea-b6b1e716654fec3b16d245ef65cf42e57e1bb5b6.tar.gz
gitea-b6b1e716654fec3b16d245ef65cf42e57e1bb5b6.zip
tune sqlite3 message (#17601)
Diffstat (limited to 'routers/init.go')
-rw-r--r--routers/init.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/init.go b/routers/init.go
index 1e2b7a02f6..80e2fec095 100644
--- a/routers/init.go
+++ b/routers/init.go
@@ -128,9 +128,9 @@ func GlobalInit(ctx context.Context) {
markup.Init()
if setting.EnableSQLite3 {
- log.Info("SQLite3 Supported")
+ log.Info("SQLite3 support is enabled")
} else if setting.Database.UseSQLite3 {
- log.Fatal("SQLite3 is set in settings but NOT Supported")
+ log.Fatal("SQLite3 support is disabled, but it is used for database setting. Please get or build a Gitea release with SQLite3 support.")
}
mustInitCtx(ctx, common.InitDBEngine)