From 32bf95c774788880631b14f6d078545c05dac24d Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Thu, 18 Jun 2020 09:17:00 +0200 Subject: [PATCH] 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 --- lib/private/AppFramework/Bootstrap/Coordinator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.39.5