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

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2021-07-02 18:45:03 +0300
committerVincent Petry <vincent@nextcloud.com>2021-07-27 13:19:24 +0300
commitcff8ae7ded95ca035c7a6ec9fe5c4212273e2b6c (patch)
treebcfb6086210a25de3a5ab7a72846a2734bc8f58a /apps/federatedfilesharing
parent46b8cf4f64a8a2d9320ded762eeb0a4b9347181d (diff)
Add logging to external shares manager
Instead of just returning false, also log the exception to make debugging database issues easier. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'apps/federatedfilesharing')
-rw-r--r--apps/federatedfilesharing/lib/OCM/CloudFederationProviderFiles.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/federatedfilesharing/lib/OCM/CloudFederationProviderFiles.php b/apps/federatedfilesharing/lib/OCM/CloudFederationProviderFiles.php
index cc6b260add6..94fbb7870d5 100644
--- a/apps/federatedfilesharing/lib/OCM/CloudFederationProviderFiles.php
+++ b/apps/federatedfilesharing/lib/OCM/CloudFederationProviderFiles.php
@@ -250,7 +250,8 @@ class CloudFederationProviderFiles implements ICloudFederationProvider {
\OC::$server->getGroupManager(),
\OC::$server->getUserManager(),
$shareWith,
- \OC::$server->query(IEventDispatcher::class)
+ \OC::$server->query(IEventDispatcher::class),
+ \OC::$server->getLogger()
);
try {