diff options
author | Robin Appelman <robin@icewind.nl> | 2025-05-15 15:06:55 +0200 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2025-05-15 16:34:27 +0000 |
commit | 166d1b06098e2c17c9cadababd2d23420524949a (patch) | |
tree | 4c342312b48d552e4e0bdde5385145739d1c57e4 | |
parent | d457957e0625c7b21b8f3962a42fc1847ac17e17 (diff) | |
download | nextcloud-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.php | 2 |
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'); |