diff --git a/libs/common/src/platform/services/migration-runner.ts b/libs/common/src/platform/services/migration-runner.ts index 9e3a6118af..1190840b7b 100644 --- a/libs/common/src/platform/services/migration-runner.ts +++ b/libs/common/src/platform/services/migration-runner.ts @@ -32,7 +32,11 @@ export class MigrationRunner { const migrationBuilder = this.migrationBuilderService.build(); - await migrationBuilder.migrate(migrationHelper); + try { + await migrationBuilder.migrate(migrationHelper); + } catch (error) { + this.logService.error("Critical migration failure due to an exception: ", error); + } } async waitForCompletion(): Promise {