summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-06-18 09:17:00 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-06-18 09:17:00 +0200
commit32bf95c774788880631b14f6d078545c05dac24d (patch)
tree89f4ac4aafaae54fdf53a6fab082faffdd46b9b5 /lib
parenta915b45190ee1fcfeffa37cd4f2fa2733b16e9ff (diff)
downloadnextcloud-server-32bf95c774788880631b14f6d078545c05dac24d.tar.gz
nextcloud-server-32bf95c774788880631b14f6d078545c05dac24d.zip
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 <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/AppFramework/Bootstrap/Coordinator.php2
1 files changed, 1 insertions, 1 deletions
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));