diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-05-04 12:01:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-04 12:01:33 +0200 |
commit | 2780bb0b2b12071f03ccb641021eba5931aee5a4 (patch) | |
tree | e618a581d33d6542a3a4ca9650d95c3bb88ec8ca /lib | |
parent | bd2aede6a38c2c7e635befdbf54ea12d2f6bdb8f (diff) | |
parent | d71783fb93673c7243449a3e162e162ca24f36f7 (diff) | |
download | nextcloud-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.php | 3 |
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; |