]> source.dussan.org Git - nextcloud-server.git/commitdiff
Throw an exception in case checkServer() returns errors
authorThomas Müller <thomas.mueller@tmit.eu>
Thu, 9 Apr 2015 14:42:34 +0000 (16:42 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Thu, 9 Apr 2015 14:42:34 +0000 (16:42 +0200)
lib/private/console/application.php

index d7f8ac53f91139b3d7ee1aadd144f0c7c17958e5..551d69ef53cd2e77d9d7bd54d0afd03eee8baa5a 100644 (file)
@@ -56,6 +56,7 @@ class Application {
                                        $output->writeln($error['hint']);
                                        $output->writeln('');
                                }
+                               throw new \Exception("Environment not properly prepared.");
                        }
                }
        }