Skip to content

Commit

Permalink
fix: catch and filter shares whom storage is not available
Browse files Browse the repository at this point in the history
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>

[skip ci]
  • Loading branch information
skjnldsv authored and backportbot[bot] committed Jun 14, 2024
1 parent f4380b7 commit ae21797
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Service/RecentlySharedFilesSource.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ public function getMostRecentRecommendation(IUser $user, int $max): array {
);
} catch (NotFoundException $ex) {
return null;
} catch (StorageNotAvailableException $e) {
return null;
}
}, $shares));
}
Expand Down

0 comments on commit ae21797

Please sign in to comment.