diff --git a/core/modules/migrate_drupal_ui/src/Batch/MigrateUpgradeImportBatch.php b/core/modules/migrate_drupal_ui/src/Batch/MigrateUpgradeImportBatch.php index 0543bb703206..c9c19a5c30a4 100644 --- a/core/modules/migrate_drupal_ui/src/Batch/MigrateUpgradeImportBatch.php +++ b/core/modules/migrate_drupal_ui/src/Batch/MigrateUpgradeImportBatch.php @@ -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')); }