summaryrefslogtreecommitdiffstats
path: root/lib/private/console/application.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-04-09 16:42:34 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-04-09 16:42:34 +0200
commitf7c906902ac67fda541c200c23f7ee2a1dabc3e4 (patch)
treeb24542ea0388710455a84655bcd6eea33b46f3aa /lib/private/console/application.php
parent890a18e1a634c700e7acd451c75f6fc324d7be82 (diff)
downloadnextcloud-server-f7c906902ac67fda541c200c23f7ee2a1dabc3e4.tar.gz
nextcloud-server-f7c906902ac67fda541c200c23f7ee2a1dabc3e4.zip
Throw an exception in case checkServer() returns errors
Diffstat (limited to 'lib/private/console/application.php')
-rw-r--r--lib/private/console/application.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/console/application.php b/lib/private/console/application.php
index d7f8ac53f91..551d69ef53c 100644
--- a/lib/private/console/application.php
+++ b/lib/private/console/application.php
@@ -56,6 +56,7 @@ class Application {
$output->writeln($error['hint']);
$output->writeln('');
}
+ throw new \Exception("Environment not properly prepared.");
}
}
}