diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-08-25 18:06:13 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-08-30 19:49:23 +0200 |
commit | 669b0bc2ae6198a8f656f450ffbf351fb208951d (patch) | |
tree | d056060042d3dcbaa4a6ea429c28ca1d44014d8c /lib/private | |
parent | d17e126330617df9c19ca593cc54d56d960a4504 (diff) | |
download | nextcloud-server-669b0bc2ae6198a8f656f450ffbf351fb208951d.tar.gz nextcloud-server-669b0bc2ae6198a8f656f450ffbf351fb208951d.zip |
Prevent error with orphaned shares when updating user mount cache
Diffstat (limited to 'lib/private')
-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 ab58a976873..bd8343fa440 100644 --- a/lib/private/Files/Config/UserMountCache.php +++ b/lib/private/Files/Config/UserMountCache.php @@ -159,7 +159,8 @@ class UserMountCache implements IUserMountCache { 'mount_id' => $mount->getMountId() ], ['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()); } } |