summaryrefslogtreecommitdiffstats
path: root/core/Command
diff options
context:
space:
mode:
authorPatrik Kernstock <info@pkern.at>2018-10-10 18:28:26 +0200
committerPatrik Kernstock <info@pkern.at>2018-10-10 18:28:26 +0200
commit6a00521128594058720f6ad35acd2b01e1910820 (patch)
tree5ebdf783b8398ece2c91648c61dc0af243a4a64e /core/Command
parent4cd7cf86db3c2bdabe02a7820f23ea6b41874886 (diff)
downloadnextcloud-server-6a00521128594058720f6ad35acd2b01e1910820.tar.gz
nextcloud-server-6a00521128594058720f6ad35acd2b01e1910820.zip
Use error styling for exception message
Signed-off-by: Patrik Kernstock <info@pkern.at>
Diffstat (limited to 'core/Command')
-rw-r--r--core/Command/App/Remove.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Command/App/Remove.php b/core/Command/App/Remove.php
index 3264a2223d1..71d5cef229c 100644
--- a/core/Command/App/Remove.php
+++ b/core/Command/App/Remove.php
@@ -95,7 +95,7 @@ class Remove extends Command implements CompletionAwareInterface {
$this->manager->disableApp($appId);
$output->writeln($appId . ' disabled');
} catch(Throwable $e) {
- $output->writeln('Error: ' . $e->getMessage());
+ $output->writeln('<error>Error: ' . $e->getMessage() . '</error>');
$this->logger->logException($e, [
'app' => 'CLI',
'level' => ILogger::ERROR
@@ -108,7 +108,7 @@ class Remove extends Command implements CompletionAwareInterface {
try {
$result = $this->installer->removeApp($appId);
} catch(Throwable $e) {
- $output->writeln('Error: ' . $e->getMessage());
+ $output->writeln('<error>Error: ' . $e->getMessage() . '</error>');
$this->logger->logException($e, [
'app' => 'CLI',
'level' => ILogger::ERROR