Skip to content

Commit

Permalink
fix: catch all errors when getting rich workspace file
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas <jonas@freesources.org>
  • Loading branch information
mejo- committed Nov 27, 2024
1 parent dbebbbd commit 95c47c3
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 @@ -117,7 +117,7 @@ public function propFind(PropFind $propFind, INode $node) {
/** @var File $file */
try {
$file = $this->workspaceService->getFile($nodes[0]);
} catch (StorageNotAvailableException $e) {
} catch (\Exception $e) {
// If a storage is not available we can for the propfind response assume that there is no rich workspace present
}
}
Expand Down

0 comments on commit 95c47c3

Please sign in to comment.