mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 18:50:47 -04:00
fix: improve error message when cache rename source can't be found
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
182406af04
commit
a4f0a9c7ca
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