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

Convert error and hint to string before writing to the output
This commit is contained in:
Joas Schilling 2015-04-16 14:51:29 +02:00
commit c7e5e30b86
1 changed files with 2 additions and 2 deletions

View File

@ -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.");