diff --git a/lib/private/Files/View.php b/lib/private/Files/View.php
index a149cdf0af5e55711aa334469eec1cf4deb972b2..c1d2279205c8cd4c27a69b8bba1d641edacd5c78 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;