mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
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:
commit
fe29175144
1 changed files with 1 additions and 1 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in a new issue