More refactoring and integration of standards dataset database
This commit is contained in:
@@ -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}"`);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user