summaryrefslogtreecommitdiff
path: root/scripts/migration/0.8.2
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/migration/0.8.2')
-rwxr-xr-xscripts/migration/0.8.2/migrate.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/migration/0.8.2/migrate.py b/scripts/migration/0.8.2/migrate.py
index fe612221..c9c8a9a0 100755
--- a/scripts/migration/0.8.2/migrate.py
+++ b/scripts/migration/0.8.2/migrate.py
@@ -103,4 +103,9 @@ if __name__ == '__main__':
if args.pdb:
_enable_pdb()
_configure_logger(args.log_file)
- migrate(args, TARGET_VERSION)
+ logger = logging.getLogger(__name__)
+ try:
+ migrate(args, TARGET_VERSION)
+ except:
+ logger.exception('Fatal error on migrate script!')
+ raise