karenc / db-migrator

GNU Affero General Public License v3.0
4 stars 5 forks source link

Move exception handling to CLI layer #33

Open karenc opened 8 years ago

karenc commented 8 years ago

Instead of handling the database error in utils.get_schema_versions, allow the caller to decide what to do about it.

Original discussion from https://github.com/karenc/db-migrator/pull/23#issuecomment-196966668