mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-18 07:40:21 -04:00
Only catch databas errors
This commit is contained in:
parent
7d5b142547
commit
43b77c5d97
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ def run_create(cur, database_engine, *args, **kwargs):
|
||||||
synapse.storage.prepare_database.executescript(
|
synapse.storage.prepare_database.executescript(
|
||||||
cur, os.path.join(delta_dir, "34", "device_outbox.sql")
|
cur, os.path.join(delta_dir, "34", "device_outbox.sql")
|
||||||
)
|
)
|
||||||
except:
|
except database_engine.module.DatabaseError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue