Merge pull request #25315 from nextcloud/backport/25313/stable20
[stable20] Catch NotFoundException when querying quota
This commit is contained in:
commit
7ecb8d122e
|
@ -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 New Issue