Skip to content

Commit

Permalink
fix: catch all errors when getting rich workspace content
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Appelman <[email protected]>
  • Loading branch information
icewind1991 committed Aug 21, 2024
1 parent 97e6fa2 commit d3210f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/DAV/WorkspacePlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public function propFind(PropFind $propFind, INode $node) {
try {
$cachedContent = $file->getContent();
$cache->set($cacheKey, $cachedContent, 3600);
} catch (GenericFileException|NotPermittedException|LockedException $e) {
} catch (\Exception $e) {
}
}
return $cachedContent;
Expand Down

0 comments on commit d3210f8

Please sign in to comment.