summary refs log tree commit diff
path: root/synapse/app/homeserver.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-10-13 11:41:04 +0100
committerErik Johnston <erik@matrix.org>2015-10-13 11:43:43 +0100
commitec398af41c4d276abb02279efbcbb0aa08a4cbc8 (patch)
treefa6dc255b20b422b6c724d36852317a6ec095a9b /synapse/app/homeserver.py
parentSplit out the schema preparation and update logic into its own module (diff)
downloadsynapse-ec398af41c4d276abb02279efbcbb0aa08a4cbc8.tar.xz
Expose error more nicely
Diffstat (limited to 'synapse/app/homeserver.py')
-rwxr-xr-xsynapse/app/homeserver.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py
index 190b03e2f7..b284d07cf0 100755
--- a/synapse/app/homeserver.py
+++ b/synapse/app/homeserver.py
@@ -35,9 +35,8 @@ if __name__ == '__main__':
 
 
 from synapse.storage.engines import create_engine, IncorrectDatabaseSetup
-from synapse.storage import (
-    are_all_users_on_domain, UpgradeDatabaseException,
-)
+from synapse.storage import are_all_users_on_domain
+from synapse.storage.schema_prepare import UpgradeDatabaseException
 
 from synapse.server import HomeServer