Skip to content

Commit

Permalink
chore: Print to indicate cache mappings are being downloaded
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeGodSRC committed Jul 11, 2024
1 parent 94290c6 commit 9e65129
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public void onPreInitialize() throws IOException {
try {
JsonArray jsonElements = this.cache.read();
if (jsonElements == null) {
Log.info("Cached version mappings not found, loading...");
jsonElements = loadAndWrite();
}

Expand All @@ -76,7 +77,7 @@ public void onPreInitialize() throws IOException {
Log.info("Cached version mappings loaded successfully!");
}
} else {
Log.info("Cached version mappings loaded successfully!");
Log.info("Version mappings loaded successfully!");
}
} catch (IOException e) {
Log.error("Failed to load version mappings...");
Expand Down

0 comments on commit 9e65129

Please sign in to comment.