From: Thomas Müller Date: Thu, 9 Apr 2015 14:42:34 +0000 (+0200) Subject: Throw an exception in case checkServer() returns errors X-Git-Tag: v8.1.0alpha1~30^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f7c906902ac67fda541c200c23f7ee2a1dabc3e4;p=nextcloud-server.git Throw an exception in case checkServer() returns errors --- 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."); } } }