Merge pull request #15674 from owncloud/fix-console-check-output

Convert error and hint to string before writing to the output
remotes/origin/poc-doctrine-migrations
Joas Schilling 10 years ago
commit c7e5e30b86
  1. 4
      lib/private/console/application.php

@ -52,8 +52,8 @@ class Application {
$errors = \OC_Util::checkServer(\OC::$server->getConfig());
if (!empty($errors)) {
foreach ($errors as $error) {
$output->writeln($error['error']);
$output->writeln($error['hint']);
$output->writeln((string)$error['error']);
$output->writeln((string)$error['hint']);
$output->writeln('');
}
throw new \Exception("Environment not properly prepared.");

Loading…
Cancel
Save