]> source.dussan.org Git - nextcloud-server.git/commitdiff
Continue with next app when one errors during register 21463/head
authorChristoph Wurst <christoph@winzerhof-wurst.at>
Thu, 18 Jun 2020 07:17:00 +0000 (09:17 +0200)
committerChristoph Wurst <christoph@winzerhof-wurst.at>
Thu, 18 Jun 2020 07:17:00 +0000 (09:17 +0200)
My patch at #21461 had a little error in that it exits the method when a
query exception is encountered during the register step of an app. What
we actually want is to continue with the next app and finish the overall
registration procedure.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
lib/private/AppFramework/Bootstrap/Coordinator.php

index 08951419906cc6998e830b15d83ef45d1853583e..dea7370e68dd9217dfd92c048c07adab9aa7a948 100644 (file)
@@ -84,7 +84,7 @@ class Coordinator {
                                        $apps[$appId] = $application = $this->serverContainer->query($applicationClassName);
                                } catch (QueryException $e) {
                                        // Weird, but ok
-                                       return;
+                                       continue;
                                }
                                try {
                                        $application->register($context->for($appId));