mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-18 09:18:52 +00: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:
commit
e2e6404a3b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue