summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/command/maintenance/install.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/command/maintenance/install.php b/core/command/maintenance/install.php
index 38074adf11a..0b01afc20ed 100644
--- a/core/command/maintenance/install.php
+++ b/core/command/maintenance/install.php
@@ -46,7 +46,12 @@ class Install extends Command {
return 0;
}
foreach($errors as $error) {
- $output->writeln((string)$error);
+ if (is_array($error)) {
+ $output->writeln('<error>' . (string)$error['error'] . '</error>');
+ $output->writeln('<info> -> ' . (string)$error['hint'] . '</info>');
+ } else {
+ $output->writeln('<error>' . (string)$error . '</error>');
+ }
}
return 1;