diff options
author | Vincent Petry <vincent@nextcloud.com> | 2021-07-02 17:45:03 +0200 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2021-07-27 12:19:24 +0200 |
commit | cff8ae7ded95ca035c7a6ec9fe5c4212273e2b6c (patch) | |
tree | bcfb6086210a25de3a5ab7a72846a2734bc8f58a /apps/federatedfilesharing | |
parent | 46b8cf4f64a8a2d9320ded762eeb0a4b9347181d (diff) | |
download | nextcloud-server-cff8ae7ded95ca035c7a6ec9fe5c4212273e2b6c.tar.gz nextcloud-server-cff8ae7ded95ca035c7a6ec9fe5c4212273e2b6c.zip |
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.php | 3 |
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 { |