Issue #2974654 by jarodriguez, Vj, quietone: Migrate upgrade shows errors in green
parent
c51bd29cdf
commit
2bfba7fe68
|
@ -262,7 +262,7 @@ class MigrateUpgradeImportBatch {
|
|||
}
|
||||
// If we had failures, log them and show the migration failed.
|
||||
if ($failures > 0) {
|
||||
\Drupal::messenger()->addStatus(\Drupal::translation()
|
||||
\Drupal::messenger()->addError(\Drupal::translation()
|
||||
->formatPlural($failures, '1 upgrade failed', '@count upgrades failed'));
|
||||
\Drupal::messenger()->addError(t('Upgrade process not completed'));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue