aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-05-03 12:32:13 +0200
committerGitHub <noreply@github.com>2018-05-03 12:32:13 +0200
commit4cfed328032051924e56f86726296c509d16f8f9 (patch)
tree66f14235868b56cddf7faadb2eb0386ec341d365
parentd6dea09f48ced38d50712375f0cfa8211f56c391 (diff)
parent0bfda02e14a17bd350e053207bd690c7028811f2 (diff)
downloadnextcloud-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.php3
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;