aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/console/command/db/migrate.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2014-05-02 19:50:01 +0200
committerAndreas Fischer <bantu@phpbb.com>2014-05-02 19:50:01 +0200
commite2e6404a3bf8ebfae658a6a70f44b42f7bf071c7 (patch)
treef0818fbcb6319e1c27c2a770d2d23c15f30cd002 /phpBB/phpbb/console/command/db/migrate.php
parentb73d0bdbd671f8a301fda52584bfeaf904551e2d (diff)
parentb302c6c1456f2fb9e13d02b1e9268fafda11726d (diff)
downloadforums-e2e6404a3bf8ebfae658a6a70f44b42f7bf071c7.tar
forums-e2e6404a3bf8ebfae658a6a70f44b42f7bf071c7.tar.gz
forums-e2e6404a3bf8ebfae658a6a70f44b42f7bf071c7.tar.bz2
forums-e2e6404a3bf8ebfae658a6a70f44b42f7bf071c7.tar.xz
forums-e2e6404a3bf8ebfae658a6a70f44b42f7bf071c7.zip
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
Diffstat (limited to 'phpBB/phpbb/console/command/db/migrate.php')
-rw-r--r--phpBB/phpbb/console/command/db/migrate.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/console/command/db/migrate.php b/phpBB/phpbb/console/command/db/migrate.php
index 79a803e8fb..044929adaa 100644
--- a/phpBB/phpbb/console/command/db/migrate.php
+++ b/phpBB/phpbb/console/command/db/migrate.php
@@ -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;
}