Merge pull request #52884 from nextcloud/backport/52873/stable30

[stable30] fix: improve error message when cache rename source can't be found
This commit is contained in:
Robin Appelman 2025-05-25 16:50:16 +02:00 committed by GitHub
commit fe29175144
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -661,7 +661,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');