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:39 +0000 |
commit | a4f0a9c7ca016c0e359112eaee087dad0a5fe3b6 (patch) | |
tree | 417588f52c595e8e72cd18b9b219cd3a2cd29b59 | |
parent | 182406af04418a6365f762bfbe813f1d1040fafa (diff) | |
download | nextcloud-server-backport/52873/stable30.tar.gz nextcloud-server-backport/52873/stable30.zip |
fix: improve error message when cache rename source can't be foundbackport/52873/stable30
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 4ce27cffe48..112720bde72 100644 --- a/lib/private/Files/Cache/Cache.php +++ b/lib/private/Files/Cache/Cache.php @@ -661,7 +661,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'); |