More refactoring and integration of standards dataset database

This commit is contained in:
Dominic Ferrando
2026-07-04 14:11:13 -04:00
parent 9e1025e119
commit 01878a8e03
7 changed files with 93 additions and 57 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ function processResults(label: string, { error, results }: MigrationResultSet):
if (it.status === 'Success') {
message = `migration ${label} succeeded: "${it.migrationName}"`;
} else if (it.status === 'Error') {
throw new Error(`migration ${label} failed: "${it.migrationName}"`);
throw error ?? new Error(`migration ${label} failed: "${it.migrationName}"`);
}
});