Merge pull request #52883 from nextcloud/backport/52873/stable31

[stable31] fix: improve error message when cache rename source can't be found
This commit is contained in:
Andy Scherzinger 2025-05-25 20:16:11 +02:00 committed by GitHub
commit b3d1fac31e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -663,7 +663,7 @@ class Cache implements ICache {
$sourceData = $sourceCache->get($sourcePath);
if (!$sourceData) {
throw new \Exception('Invalid source storage path: ' . $sourcePath);
throw new \Exception('Source path not found in cache: ' . $sourcePath);
}
$shardDefinition = $this->connection->getShardDefinition('filecache');