From 2bfba7fe68f827f188995ceb5fceec35baddda2e Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Tue, 18 Sep 2018 16:57:56 +0100 Subject: [PATCH] Issue #2974654 by jarodriguez, Vj, quietone: Migrate upgrade shows errors in green --- .../migrate_drupal_ui/src/Batch/MigrateUpgradeImportBatch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')); }