aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/View.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2018-05-02 15:11:59 +0200
committerRobin Appelman <robin@icewind.nl>2018-05-02 15:11:59 +0200
commitd71783fb93673c7243449a3e162e162ca24f36f7 (patch)
treedc51e053fdbd629e2296d0002ea319e6200cb119 /lib/private/Files/View.php
parentc8cb42fd2671c8b6ed3257e62fa9f6a24474acb8 (diff)
downloadnextcloud-server-d71783fb93673c7243449a3e162e162ca24f36f7.tar.gz
nextcloud-server-d71783fb93673c7243449a3e162e162ca24f36f7.zip
Log mount and storage issues in getFileInfo
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Files/View.php')
-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 a149cdf0af5..c1d2279205c 100644
--- a/lib/private/Files/View.php
+++ b/lib/private/Files/View.php
@@ -1361,6 +1361,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();
@@ -1392,6 +1393,8 @@ class View {
}
return $info;
+ } else {
+ \OC::$server->getLogger()->warning('Storage not valid for mountpoint: ' . $mount->getMountPoint());
}
return false;