From: Christoph Wurst Date: Thu, 18 Jun 2020 07:17:00 +0000 (+0200) Subject: Continue with next app when one errors during register X-Git-Tag: v20.0.0beta1~401^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F21463%2Fhead;p=nextcloud-server.git Continue with next app when one errors during register 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 --- diff --git a/lib/private/AppFramework/Bootstrap/Coordinator.php b/lib/private/AppFramework/Bootstrap/Coordinator.php index 08951419906..dea7370e68d 100644 --- a/lib/private/AppFramework/Bootstrap/Coordinator.php +++ b/lib/private/AppFramework/Bootstrap/Coordinator.php @@ -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));