[ticket/12474] Error messages should be displayed with <error> tag

PHPBB3-12474
This commit is contained in:
Nicofuma 2014-05-02 19:31:48 +02:00
parent b73d0bdbd6
commit b302c6c145

View file

@ -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;
} }