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 5 months ago committed by GitHub
commit 48e94baeeb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      lib/private/Files/Cache/Cache.php

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

Loading…
Cancel
Save