aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2025-05-15 18:34:07 +0200
committerGitHub <noreply@github.com>2025-05-15 18:34:07 +0200
commit48e94baeeb39bb7c6a25020961d8991ef58dd1fe (patch)
treec8a5f8d6a048039db7be04f398816ecdefc9f14b
parentcf44995aaca8a4e18aaa745bb73dbc3139180540 (diff)
parent5329c373cc63941cc22b5f5c41609cf73cbc89aa (diff)
downloadnextcloud-server-48e94baeeb39bb7c6a25020961d8991ef58dd1fe.tar.gz
nextcloud-server-48e94baeeb39bb7c6a25020961d8991ef58dd1fe.zip
Merge pull request #52873 from nextcloud/cache-rename-source-error
fix: improve error message when cache rename source can't be found
-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');