diff --git a/lib/DAV/WorkspacePlugin.php b/lib/DAV/WorkspacePlugin.php index 2afd69bb600..4f5461054b9 100644 --- a/lib/DAV/WorkspacePlugin.php +++ b/lib/DAV/WorkspacePlugin.php @@ -99,8 +99,11 @@ public function propFind(PropFind $propFind, INode $node) { try { $cachedContent = $file->getContent(); $cache->set($cacheKey, $cachedContent, 3600); - } catch (GenericFileException|NotPermittedException|LockedException) { - // Ignore + } catch (GenericFileException|NotPermittedException|LockedException $e) { + // Ignore but log when debugging + $this->logger->debug($e->getMessage(), [ + 'exception' => $e, + ]); } catch (Exception $e) { $this->logger->error($e->getMessage(), [ 'exception' => $e,