diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-08-25 19:06:13 +0300 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-08-29 11:59:19 +0300 |
commit | c195ee678dd1c4efb3dc6fe99155c3a029f3a607 (patch) | |
tree | e426cd389c1c13631926a20f2239303b1f697834 /lib | |
parent | 1b558ae2015da0645cc8cf0657e55c55c23cf2d6 (diff) |
Prevent error with orphaned shares when updating user mount cache
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Files/Config/UserMountCache.php | 3 |
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()); } } |