oslo.db/oslo_db
dineshbhor a6172924d5 Raise only DbMigrationError from migrate 'upgrade' method
All the exceptions which are raised from sqlalchemy-migrate upgrade
method are not more user friendly to the operator.

This patch proposes to convert all the exceptions which will be
raised by 'upgrade' method to an oslo_db specific 'DbMigrationError'
exception.

Related-Bug: #1546441
Change-Id: I28533bedba358281ce302b9b021744387a76c04a
2017-05-25 18:37:34 +05:30
..
locale Imported Translations from Zanata 2017-03-24 07:13:44 +00:00
sqlalchemy Raise only DbMigrationError from migrate 'upgrade' method 2017-05-25 18:37:34 +05:30
tests Raise only DbMigrationError from migrate 'upgrade' method 2017-05-25 18:37:34 +05:30
__init__.py Move files out of the namespace package 2014-12-24 13:28:48 +02:00
_i18n.py Remove log translations 2017-03-30 08:42:42 +08:00
api.py Remove log translations 2017-03-30 08:42:42 +08:00
concurrency.py Remove log translations 2017-03-30 08:42:42 +08:00
exception.py Add a specific exception for 'unknown database' errors 2016-10-10 17:52:17 +03:00
options.py Remove deprecated config option sqlite_db 2017-03-24 16:04:32 +08:00