Skip to content
Snippets Groups Projects
Unverified Commit d71783fb authored by Robin Appelman's avatar Robin Appelman
Browse files

Log mount and storage issues in getFileInfo


Signed-off-by: default avatarRobin Appelman <robin@icewind.nl>
parent c8cb42fd
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment