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('' . (string)$error['error'] . '');
+ $output->writeln(' -> ' . (string)$error['hint'] . '');
+ } else {
+ $output->writeln('' . (string)$error . '');
+ }
}
return 1;