mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
fix: better error message on missing user files dir
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
This commit is contained in:
parent
0ad56e5752
commit
7d06dc3474
1 changed files with 1 additions and 1 deletions
|
|
@ -487,7 +487,7 @@ class OC_Helper {
|
|||
$rootInfo = \OC\Files\Filesystem::getFileInfo($path, $includeExtStorage ? 'ext' : false);
|
||||
}
|
||||
if (!$rootInfo instanceof \OCP\Files\FileInfo) {
|
||||
throw new \OCP\Files\NotFoundException();
|
||||
throw new \OCP\Files\NotFoundException('The root directory of the user\'s files is missing');
|
||||
}
|
||||
$used = $rootInfo->getSize($includeMountPoints);
|
||||
if ($used < 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue