Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/fulltextsearch.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2018-09-06 14:58:51 +0300
committerMaxence Lange <maxence@artificial-owl.com>2018-09-06 14:58:51 +0300
commit2222d9c570abf7d88162f4df69157c95f5d9892a (patch)
treeb3632ef102c30ef6328594f224c7f57082bc82cb
parentebd9db98cd05cea5498a6ef36d726696cb13a515 (diff)
keep indexing on exception during indexProviderContentFromUser()
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
-rw-r--r--lib/Command/Index.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/Command/Index.php b/lib/Command/Index.php
index fbad0bd..40e6c6c 100644
--- a/lib/Command/Index.php
+++ b/lib/Command/Index.php
@@ -375,9 +375,13 @@ class Index extends ExtendedBase {
continue;
}
- $this->indexService->indexProviderContentFromUser(
- $platform, $provider, $user->getUID(), $options
- );
+ try {
+ $this->indexService->indexProviderContentFromUser(
+ $platform, $provider, $user->getUID(), $options
+ );
+ } catch (Exception $e) {
+ continue;
+ }
}
$this->providerService->setProviderAsIndexed($provider, true);