Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: improve error message when cache rename source can't be found
Signed-off-by: Robin Appelman <[email protected]>
  • Loading branch information
icewind1991 committed May 15, 2025
commit 5329c373cc63941cc22b5f5c41609cf73cbc89aa
2 changes: 1 addition & 1 deletion lib/private/Files/Cache/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ public function moveFromCache(ICache $sourceCache, $sourcePath, $targetPath) {

$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');
Expand Down
Loading