Skip to content

Commit 5a5b23b

Browse files
juliusknorrmejo-
authored andcommitted
fix: Catch generic exceptions during mountpoint setup
Signed-off-by: Julius Knorr <jus@bitgrid.net>
1 parent ee683a2 commit 5a5b23b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Mount/MountProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function getFoldersForUser(IUser $user): array {
5050

5151
try {
5252
$collectives = $this->collectiveHelper->getCollectivesForUser($user->getUID(), true, false);
53-
} catch (QueryException|MissingDependencyException|NotFoundException|NotPermittedException $e) {
53+
} catch (QueryException|MissingDependencyException|NotFoundException|NotPermittedException|\Exception $e) {
5454
$this->log($e);
5555
return $folders;
5656
}

0 commit comments

Comments
 (0)