Expose error more nicely

This commit is contained in:
Erik Johnston 2015-10-13 11:41:04 +01:00
parent 40b6a5aad1
commit ec398af41c
6 changed files with 5 additions and 9 deletions

View file

@ -41,9 +41,6 @@ from .end_to_end_keys import EndToEndKeyStore
from .receipts import ReceiptsStore
from ._schema_prepare import UpgradeDatabaseException
__all__ = [UpgradeDatabaseException]
import logging

View file

@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from synapse.storage._schema_prepare import prepare_database
from synapse.storage.schema_prepare import prepare_database
from ._base import IncorrectDatabaseSetup

View file

@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from synapse.storage._schema_prepare import (
from synapse.storage.schema_prepare import (
prepare_database, prepare_sqlite3_database
)