fix: improve error message when cache rename source can't be found

Signed-off-by: Robin Appelman <robin@icewind.nl>
pull/52883/head
Robin Appelman 2025-05-15 15:06:55 +07:00 committed by Andy Scherzinger
parent a9d0c2164f
commit 4dba5e141b
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');