diff options
author | Mark Haines <mark.haines@matrix.org> | 2016-09-08 17:44:21 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2016-09-08 17:44:21 +0100 |
commit | 43b77c5d97a3119296c0f26030140b28e8d25f04 (patch) | |
tree | 4a6e338d09169f51e078398ce92c1abc54f7a665 /synapse/storage | |
parent | Add a stub run_upgrade (diff) | |
download | synapse-43b77c5d97a3119296c0f26030140b28e8d25f04.tar.xz |
Only catch databas errors
Diffstat (limited to '')
-rw-r--r-- | synapse/storage/schema/delta/35/device_outbox_again.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/schema/delta/35/device_outbox_again.py b/synapse/storage/schema/delta/35/device_outbox_again.py index d6d2260393..5f950a4a8a 100644 --- a/synapse/storage/schema/delta/35/device_outbox_again.py +++ b/synapse/storage/schema/delta/35/device_outbox_again.py @@ -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 |