diff --git a/lib/actions/down.js b/lib/actions/down.js
index <HASH>..<HASH> 100644
--- a/lib/actions/down.js
+++ b/lib/actions/down.js
@@ -12,8 +12,8 @@ module.exports = async db => {
   const lastAppliedItem = _.last(appliedItems);
 
   if (lastAppliedItem) {
-    const migration = migrationsDir.loadMigration(lastAppliedItem.fileName);
     try {
+      const migration = migrationsDir.loadMigration(lastAppliedItem.fileName);
       const args = fnArgs(migration.down);
       const down = args.length > 1 ? promisify(migration.down) : migration.down;
       await down(db);
diff --git a/lib/actions/up.js b/lib/actions/up.js
index <HASH>..<HASH> 100644
--- a/lib/actions/up.js
+++ b/lib/actions/up.js
@@ -13,8 +13,8 @@ module.exports = async db => {
   const migrated = [];
 
   const migrateItem = async item => {
-    const migration = migrationsDir.loadMigration(item.fileName);
     try {
+      const migration = migrationsDir.loadMigration(item.fileName);
       const args = fnArgs(migration.up);
       const up = args.length > 1 ? promisify(migration.up) : migration.up;
       await up(db);
Report errors when loading migration file fails (#<I>)

Report errors when loading migration file fails



See: <URL>