Convert error and hint to string before writing to the output - fixes https://mailman.owncloud.org/pipermail/devel/2015-April/001184.html
This commit is contained in:
parent
2e06cf49a5
commit
07243f0482
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue