mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 16:27:38 +02:00
Merge pull request #2380 from Nicofuma/ticket/12474
[ticket/12474] The console command for updating/migrating the db should display the error with the <error> tag * Nicofuma/ticket/12474: [ticket/12474] Error messages should be displayed with <error> tag
This commit is contained in:
@@ -65,7 +65,7 @@ class migrate extends \phpbb\console\command\command
|
|||||||
}
|
}
|
||||||
catch (\phpbb\db\migration\exception $e)
|
catch (\phpbb\db\migration\exception $e)
|
||||||
{
|
{
|
||||||
$output->writeln($e->getLocalisedMessage($this->user));
|
$output->writeln('<error>' . $e->getLocalisedMessage($this->user) . '</error>');
|
||||||
$this->finalise_update();
|
$this->finalise_update();
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user