Skip to content
Snippets Groups Projects
Unverified Commit 2780bb0b authored by Morris Jobke's avatar Morris Jobke Committed by GitHub
Browse files

Merge pull request #9364 from nextcloud/log-invalid-storage

Log mount and storage issues in getFileInfo
parents bd2aede6 d71783fb
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