Skip to content

Commit 671876e

Browse files
committed
magento/magento-2#23222: setup:upgrade should return failure when app:config:import failed: Replaced constant in localised error message with string literal
1 parent 8c4667a commit 671876e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup/src/Magento/Setup/Console/Command/UpgradeCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
128128
$arrayInput->setInteractive($input->isInteractive());
129129
$result = $importConfigCommand->run($arrayInput, $output);
130130
if ($result === \Magento\Framework\Console\Cli::RETURN_FAILURE) {
131-
throw new \Magento\Framework\Exception\RuntimeException(__(ConfigImportCommand::COMMAND_NAME . ' failed. See previous output.'));
131+
throw new \Magento\Framework\Exception\RuntimeException(__('%1 failed. See previous output.', ConfigImportCommand::COMMAND_NAME));
132132
}
133133
}
134134

0 commit comments

Comments
 (0)