1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-03 15:27:42 +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:
Andreas Fischer
2014-05-02 19:50:01 +02:00

View File

@@ -65,7 +65,7 @@ class migrate extends \phpbb\console\command\command
}
catch (\phpbb\db\migration\exception $e)
{
$output->writeln($e->getLocalisedMessage($this->user));
$output->writeln('<error>' . $e->getLocalisedMessage($this->user) . '</error>');
$this->finalise_update();
return 1;
}