Fixed error in log entry.

This commit is contained in:
CalDescent 2021-11-02 09:15:55 +00:00
parent b771544c5d
commit 1002acb021

View File

@ -283,7 +283,7 @@ public class ArbitraryDataReader {
if (!arbitraryDataFile.exists()) { if (!arbitraryDataFile.exists()) {
if (!arbitraryDataFile.allChunksExist(chunkHashes)) { if (!arbitraryDataFile.allChunksExist(chunkHashes)) {
// TODO: fetch them? // TODO: fetch them?
LOGGER.info(String.format("Missing chunks for file {}", arbitraryDataFile)); LOGGER.info(String.format("Missing chunks for file %s", arbitraryDataFile));
throw new IllegalStateException(String.format("Missing chunks for file %s", arbitraryDataFile)); throw new IllegalStateException(String.format("Missing chunks for file %s", arbitraryDataFile));
} }
// We have all the chunks but not the complete file, so join them // We have all the chunks but not the complete file, so join them