mirror of
https://github.com/nextcloud/server.git
synced 2026-06-05 23:06:48 -04:00
Merge pull request #25313 from nextcloud/bugfix/noid/harden-unexist-subfolder
Catch NotFoundException when querying quota
This commit is contained in:
commit
2f074d73e3
1 changed files with 2 additions and 0 deletions
|
|
@ -339,6 +339,8 @@ class Directory extends \OCA\DAV\Connector\Sabre\Node implements \Sabre\DAV\ICol
|
|||
$free
|
||||
];
|
||||
return $this->quotaInfo;
|
||||
} catch (\OCP\Files\NotFoundException $e) {
|
||||
return [0, 0];
|
||||
} catch (\OCP\Files\StorageNotAvailableException $e) {
|
||||
return [0, 0];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue