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:
authorRobin Windey <ro.windey@gmail.com>2020-04-25 20:47:48 +0300
committerRobin Windey <ro.windey@gmail.com>2020-04-25 20:47:48 +0300
commit61e2f48e7c3f30dfe01405ad3f768e958d0e0adc (patch)
tree532c941fd2e7989f80a04069edbfc1a208b418d1
parent0a700484395c30608842cfb1775d3493c48e98cf (diff)
Log message if information on provider indexed state is not available
-rw-r--r--lib/Service/ProviderService.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Service/ProviderService.php b/lib/Service/ProviderService.php
index eec65e6..fda2579 100644
--- a/lib/Service/ProviderService.php
+++ b/lib/Service/ProviderService.php
@@ -226,6 +226,11 @@ class ProviderService implements IProviderService {
$providerId, ConfigService::PROVIDER_INDEXED
);
} catch (ProviderOptionsDoesNotExistException $e) {
+ $this->miscService->log('Could not determine if provider with id '
+ . $providerId
+ . ' was properly indexed because the corresponding provider-option could not be found.'
+ . ' Make sure the initial indexing process has been completed successfully.'
+ );
return false;
}