Skip to content

Commit 10ce323

Browse files
Merge pull request #4807 from NativeScript/vladimirov/fix-migrate
fix: migrate command failure should be handled correctly
2 parents 3718079 + 668baa9 commit 10ce323

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/controllers/migrate-controller.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export class MigrateController extends UpdateControllerBase implements IMigrateC
108108
await this.migrateDependencies(projectData);
109109
} catch (error) {
110110
this.restoreBackup(MigrateController.folders, backupDir, projectData.projectDir);
111-
this.$logger.error(MigrateController.migrateFailMessage);
111+
this.$errors.failWithoutHelp(`${MigrateController.migrateFailMessage} The error is: ${error}`);
112112
}
113113
}
114114

0 commit comments

Comments
 (0)