mirror of
https://github.com/nextcloud/server.git
synced 2026-07-04 23:36:25 -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
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');
|
||||
|
|
|
|||
Loading…
Reference in a new issue