diff --git a/core/modules/migrate_drupal_ui/src/Batch/MigrateUpgradeImportBatch.php b/core/modules/migrate_drupal_ui/src/Batch/MigrateUpgradeImportBatch.php
index 0543bb7032..c9c19a5c30 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 @@ public static function finished($success, $results, $operations, $elapsed) {
     }
     // 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'));
     }
