diff --git a/lib/private/Files/View.php b/lib/private/Files/View.php
index aaf14b4d7e0db40f360629e3dcfe1f32255170d3..62f845e777751a1c4b37b7338ec5ff3d6b057362 100644
--- a/lib/private/Files/View.php
+++ b/lib/private/Files/View.php
@@ -1360,6 +1360,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();
@@ -1391,6 +1392,8 @@ class View {
 			}
 
 			return $info;
+		} else {
+			\OC::$server->getLogger()->warning('Storage not valid for mountpoint: ' . $mount->getMountPoint());
 		}
 
 		return false;