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
path: root/lib
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2018-08-27 18:00:34 +0300
committerMaxence Lange <maxence@artificial-owl.com>2018-08-27 18:00:34 +0300
commitd0a64aa93da05be5351fc1798d093955652ae9c7 (patch)
tree1f261b72043c6a4b07019cd727d3b722201e546c /lib
parent9e87bfbae41ac1317af7f9c1226cb7ff9483b06a (diff)
destruct document on exception
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Service/IndexService.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Service/IndexService.php b/lib/Service/IndexService.php
index 3e2567a..511288b 100644
--- a/lib/Service/IndexService.php
+++ b/lib/Service/IndexService.php
@@ -300,7 +300,8 @@ class IndexService {
);
$this->filterDocumentBeforeIndex($document);
- } catch (NotIndexableDocumentException $e) {
+ } catch (Exception $e) {
+ $document->__destruct();
continue;
}