Browse Source

Fixed error in log entry.

qdn
CalDescent 3 years ago
parent
commit
1002acb021
  1. 2
      src/main/java/org/qortal/arbitrary/ArbitraryDataReader.java

2
src/main/java/org/qortal/arbitrary/ArbitraryDataReader.java

@ -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

Loading…
Cancel
Save