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
path: root/lib
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-08-25 19:06:13 +0300
committerThomas Müller <thomas.mueller@tmit.eu>2016-08-29 11:59:19 +0300
commitc195ee678dd1c4efb3dc6fe99155c3a029f3a607 (patch)
treee426cd389c1c13631926a20f2239303b1f697834 /lib
parent1b558ae2015da0645cc8cf0657e55c55c23cf2d6 (diff)
Prevent error with orphaned shares when updating user mount cache
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Files/Config/UserMountCache.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Files/Config/UserMountCache.php b/lib/private/Files/Config/UserMountCache.php
index bc6ad1b34f0..7ef73739c9e 100644
--- a/lib/private/Files/Config/UserMountCache.php
+++ b/lib/private/Files/Config/UserMountCache.php
@@ -143,7 +143,8 @@ class UserMountCache implements IUserMountCache {
'mount_point' => $mount->getMountPoint()
], ['root_id', 'user_id']);
} else {
- $this->logger->error('Error getting storage info for mount at ' . $mount->getMountPoint());
+ // in some cases this is legitimate, like orphaned shares
+ $this->logger->debug('Could not get storage info for mount at ' . $mount->getMountPoint());
}
}