diff options
author | Patrik Kernstock <info@pkern.at> | 2018-10-10 18:28:26 +0200 |
---|---|---|
committer | Patrik Kernstock <info@pkern.at> | 2018-10-10 18:28:26 +0200 |
commit | 6a00521128594058720f6ad35acd2b01e1910820 (patch) | |
tree | 5ebdf783b8398ece2c91648c61dc0af243a4a64e /core/Command/App | |
parent | 4cd7cf86db3c2bdabe02a7820f23ea6b41874886 (diff) | |
download | nextcloud-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/App')
-rw-r--r-- | core/Command/App/Remove.php | 4 |
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 |