Compare commits

...

4 Commits

Author SHA1 Message Date
Louis Chmn 67c31584e2 HACK: limit the amount of files returned by getFolderContentsById
Signed-off-by: Louis Chmn <louis@chmn.me>
2026-02-11 15:49:09 +01:00
Louis d21351701a Merge pull request #58140 from nextcloud/artonge/fix/ignore_abort_error
fix(files): Do not show abort error to the user
2026-02-11 15:03:02 +01:00
nextcloud-command 6c04307e13 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2026-02-11 13:42:45 +00:00
Louis Chmn a4f396e648 fix(files): Do not show abort error to the user
Signed-off-by: Louis Chmn <louis@chmn.me>
2026-02-11 13:40:33 +00:00
4 changed files with 8 additions and 3 deletions
+4
View File
@@ -37,6 +37,10 @@ export function humanizeWebDAVError(error: unknown) {
return t('files', 'Storage is temporarily not available')
}
}
// We don't need to show abortion error to the user as those are expected.
if (error.name === 'AbortError') {
return null
}
return t('files', 'Unexpected error: {error}', { error: error.message })
}
+2 -2
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1
View File
@@ -224,6 +224,7 @@ class Cache implements ICache {
$query->selectFileCache()
->whereParent($fileId)
->whereStorageId($this->getNumericStorageId())
->setMaxResults(10000)
->orderBy('name', 'ASC');
$metadataQuery = $query->selectMetadata();