1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-21 08:31:27 -05:00

tune sqlite3 message (#17601)

This commit is contained in:
wxiaoguang 2021-11-10 02:55:24 +08:00 committed by GitHub
parent aa4355ba1f
commit b6b1e71665
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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