diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2018-09-06 14:58:51 +0300 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2018-09-06 14:58:51 +0300 |
commit | 2222d9c570abf7d88162f4df69157c95f5d9892a (patch) | |
tree | b3632ef102c30ef6328594f224c7f57082bc82cb | |
parent | ebd9db98cd05cea5498a6ef36d726696cb13a515 (diff) |
keep indexing on exception during indexProviderContentFromUser()
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
-rw-r--r-- | lib/Command/Index.php | 10 |
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); |