aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2025-05-15 15:06:55 +0200
committerAndy Scherzinger <info@andy-scherzinger.de>2025-05-25 18:38:42 +0200
commit4dba5e141bc413bad2f324249e06cd6c9379863a (patch)
tree5909e57a1040a9b23b9f3cf005def9e4f240d456
parenta9d0c2164fc4f43378640b9314cc2f482ae44ff9 (diff)
downloadnextcloud-server-backport/52873/stable31.tar.gz
nextcloud-server-backport/52873/stable31.zip
fix: improve error message when cache rename source can't be foundbackport/52873/stable31
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');