summary refs log tree commit diff
path: root/synapse/storage/schema/delta
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/storage/schema/delta')
-rw-r--r--synapse/storage/schema/delta/35/device_outbox_again.py2
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