summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-05-04 12:01:33 +0200
committerGitHub <noreply@github.com>2018-05-04 12:01:33 +0200
commit2780bb0b2b12071f03ccb641021eba5931aee5a4 (patch)
treee618a581d33d6542a3a4ca9650d95c3bb88ec8ca /lib
parentbd2aede6a38c2c7e635befdbf54ea12d2f6bdb8f (diff)
parentd71783fb93673c7243449a3e162e162ca24f36f7 (diff)
downloadnextcloud-server-2780bb0b2b12071f03ccb641021eba5931aee5a4.tar.gz
nextcloud-server-2780bb0b2b12071f03ccb641021eba5931aee5a4.zip
Merge pull request #9364 from nextcloud/log-invalid-storage
Log mount and storage issues in getFileInfo
Diffstat (limited to 'lib')
-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;