Merge pull request #52873 from nextcloud/cache-rename-source-error

fix: improve error message when cache rename source can't be found
pull/52886/head
Robin Appelman 2025-05-15 18:34:07 +07:00 committed by GitHub
commit 48e94baeeb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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