[core] Improve downloader logging

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
Konstantin Pastbin
2025-07-07 15:27:03 +07:00
committed by Konstantin Pastbin
parent fdbb41e0fd
commit 2e60bfc289
2 changed files with 11 additions and 1 deletions

View File

@@ -318,7 +318,10 @@ public:
size <= static_cast<uint64_t>(fileSize))
openMode = FileWriter::OP_WRITE_EXISTING;
else
{
LOG(LWARNING, ("Incomplete file size is bigger than expected, re-downloading."));
m_strategy.InitChunks(fileSize, chunkSize);
}
}
// Create file and reserve needed size.