mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 13:43:51 +01:00
Fix "Unexpected entry in 'full_schemas'" log warning (#5509)
There is a README.txt which always sets off this warning, which is a bit alarming when you first start synapse. I don't think we need to warn about this.
This commit is contained in:
parent
2f8491daef
commit
0e8b35f7b0
2 changed files with 2 additions and 1 deletions
1
changelog.d/5509.misc
Normal file
1
changelog.d/5509.misc
Normal file
|
@ -0,0 +1 @@
|
|||
Fix "Unexpected entry in 'full_schemas'" log warning.
|
|
@ -133,7 +133,7 @@ def _setup_new_database(cur, database_engine):
|
|||
if ver <= SCHEMA_VERSION:
|
||||
valid_dirs.append((ver, abs_path))
|
||||
else:
|
||||
logger.warn("Unexpected entry in 'full_schemas': %s", filename)
|
||||
logger.debug("Ignoring entry '%s' in 'full_schemas'", filename)
|
||||
|
||||
if not valid_dirs:
|
||||
raise PrepareDatabaseException(
|
||||
|
|
Loading…
Reference in a new issue