diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2018-05-03 12:32:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-03 12:32:13 +0200 |
commit | 4cfed328032051924e56f86726296c509d16f8f9 (patch) | |
tree | 66f14235868b56cddf7faadb2eb0386ec341d365 | |
parent | d6dea09f48ced38d50712375f0cfa8211f56c391 (diff) | |
parent | 0bfda02e14a17bd350e053207bd690c7028811f2 (diff) | |
download | nextcloud-server-stable-swift-v3.tar.gz nextcloud-server-stable-swift-v3.zip |
Merge pull request #9378 from nextcloud/backport/9364/swift-v3stable-swift-v3
[swiftv3] Log mount and storage issues in getFileInfo
-rw-r--r-- | lib/private/Files/View.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/Files/View.php b/lib/private/Files/View.php index aaf14b4d7e0..62f845e7777 100644 --- a/lib/private/Files/View.php +++ b/lib/private/Files/View.php @@ -1360,6 +1360,7 @@ class View { $mount = Filesystem::getMountManager()->find($path); if (!$mount) { + \OC::$server->getLogger()->warning('Mountpoint not found for path: ' . $path); return false; } $storage = $mount->getStorage(); @@ -1391,6 +1392,8 @@ class View { } return $info; + } else { + \OC::$server->getLogger()->warning('Storage not valid for mountpoint: ' . $mount->getMountPoint()); } return false; |