Skip to content

Commit

Permalink
Merge pull request #1 from rullzer/fix/error_on_storagelevel
Browse files Browse the repository at this point in the history
Catch throwable as well when setting up stroage
  • Loading branch information
rullzer authored Feb 15, 2019
2 parents 4bdbe75 + ded3bd2 commit 9715048
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<category>tools</category>
<bugs>https://github.com/rullzer/sharelisting/issues</bugs>
<dependencies>
<nextcloud min-version="13" max-version="15" />
<nextcloud min-version="14" max-version="16" />
</dependencies>

<commands>
Expand Down
2 changes: 2 additions & 0 deletions lib/Command/ListShares.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ private function do(string $userId, int $filter, string $path = null): \Iterator
$userFolder = $this->rootFolder->getUserFolder($share->getShareOwner());
} catch (NoUserException $e) {
return false;
} catch (\Throwable $e) {
return false;
}
$nodes = $userFolder->getById($share->getNodeId());

Expand Down

0 comments on commit 9715048

Please sign in to comment.