aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2025-05-15 15:06:55 +0200
committerRobin Appelman <robin@icewind.nl>2025-05-15 15:06:55 +0200
commit5329c373cc63941cc22b5f5c41609cf73cbc89aa (patch)
tree69f79c2a7f3ca3d3f3f1ab6f440663810cae3d02
parent07fa9b9311a93c214383b5d0fda4a63503dd1dbb (diff)
downloadnextcloud-server-cache-rename-source-error.tar.gz
nextcloud-server-cache-rename-source-error.zip
fix: improve error message when cache rename source can't be foundcache-rename-source-error
Signed-off-by: Robin Appelman <robin@icewind.nl>
-rw-r--r--lib/private/Files/Cache/Cache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Cache/Cache.php b/lib/private/Files/Cache/Cache.php
index 2c190720c23..cb160115851 100644
--- a/lib/private/Files/Cache/Cache.php
+++ b/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');