aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/console
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-04-16 12:32:17 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-04-16 12:32:17 +0200
commit07243f048216b313989d0c794c092eda5d1d8575 (patch)
tree67362df9215d61a8fd002e0657667228c2baefb7 /lib/private/console
parent2e06cf49a5ff2eca644b66aa9eec299830eb67bd (diff)
downloadnextcloud-server-07243f048216b313989d0c794c092eda5d1d8575.tar.gz
nextcloud-server-07243f048216b313989d0c794c092eda5d1d8575.zip
Convert error and hint to string before writing to the output - fixes https://mailman.owncloud.org/pipermail/devel/2015-April/001184.html
Diffstat (limited to 'lib/private/console')
-rw-r--r--lib/private/console/application.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/console/application.php b/lib/private/console/application.php
index 551d69ef53c..6d24665e012 100644
--- a/lib/private/console/application.php
+++ b/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.");