diff --git a/lib/DAV/WorkspacePlugin.php b/lib/DAV/WorkspacePlugin.php index 4f5461054b9..52287825ca8 100644 --- a/lib/DAV/WorkspacePlugin.php +++ b/lib/DAV/WorkspacePlugin.php @@ -17,7 +17,6 @@ use OCP\Files\GenericFileException; use OCP\Files\IRootFolder; use OCP\Files\NotPermittedException; -use OCP\Files\StorageNotAvailableException; use OCP\ICacheFactory; use OCP\IConfig; use OCP\Lock\LockedException; @@ -82,7 +81,7 @@ public function propFind(PropFind $propFind, INode $node) { $node = $node->getNode(); try { $file = $this->workspaceService->getFile($node); - } catch (StorageNotAvailableException $e) { + } catch (\Exception $e) { $file = null; }