0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 05:53:51 +01:00

Only catch databas errors

This commit is contained in:
Mark Haines 2016-09-08 17:44:21 +01:00
parent 7d5b142547
commit 43b77c5d97

View file

@ -26,7 +26,7 @@ def run_create(cur, database_engine, *args, **kwargs):
synapse.storage.prepare_database.executescript(
cur, os.path.join(delta_dir, "34", "device_outbox.sql")
)
except:
except database_engine.module.DatabaseError:
pass