mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
bridgev2/mxmain: don't suggest using ignore foreign tables flag
This commit is contained in:
parent
9d6622c293
commit
8daaabcc01
2 changed files with 0 additions and 2 deletions
|
|
@ -710,7 +710,6 @@ func (br *Bridge) LogDBUpgradeErrorAndExit(name string, err error) {
|
|||
if sqlError := (&sqlite3.Error{}); errors.As(err, sqlError) && sqlError.Code == sqlite3.ErrCorrupt {
|
||||
os.Exit(18)
|
||||
} else if errors.Is(err, dbutil.ErrForeignTables) {
|
||||
br.ZLog.Info().Msg("You can use --ignore-foreign-tables to ignore this error")
|
||||
br.ZLog.Info().Msg("See https://docs.mau.fi/faq/foreign-tables for more info")
|
||||
} else if errors.Is(err, dbutil.ErrNotOwned) {
|
||||
br.ZLog.Info().Msg("Sharing the same database with different programs is not supported")
|
||||
|
|
|
|||
|
|
@ -64,7 +64,6 @@ func (br *BridgeMain) LogDBUpgradeErrorAndExit(name string, err error, message s
|
|||
if sqlError := (&sqlite3.Error{}); errors.As(err, sqlError) && sqlError.Code == sqlite3.ErrCorrupt {
|
||||
os.Exit(18)
|
||||
} else if errors.Is(err, dbutil.ErrForeignTables) {
|
||||
br.Log.Info().Msg("You can use --ignore-foreign-tables to ignore this error")
|
||||
br.Log.Info().Msg("See https://docs.mau.fi/faq/foreign-tables for more info")
|
||||
} else if errors.Is(err, dbutil.ErrNotOwned) {
|
||||
br.Log.Info().Msg("Sharing the same database with different programs is not supported")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue