From 290a19b6c6510b3ad748db08ee97782a92ca5784 Mon Sep 17 00:00:00 2001 From: CalDescent Date: Tue, 12 Oct 2021 08:01:47 +0100 Subject: [PATCH] Log the URL when downloading a bootstrap, to help with problem solving. --- src/main/java/org/qortal/repository/Bootstrap.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/qortal/repository/Bootstrap.java b/src/main/java/org/qortal/repository/Bootstrap.java index 57d1b8da..82f6aa3b 100644 --- a/src/main/java/org/qortal/repository/Bootstrap.java +++ b/src/main/java/org/qortal/repository/Bootstrap.java @@ -17,7 +17,6 @@ import org.qortal.utils.NTP; import org.qortal.utils.SevenZ; import java.io.BufferedInputStream; -import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.net.HttpURLConnection; @@ -377,7 +376,8 @@ public class Bootstrap { String bootstrapUrl = String.format("%s/%s", bootstrapHost, bootstrapFilename); String type = Settings.getInstance().isTopOnly() ? "top-only" : "full node"; - this.updateStatus(String.format("Downloading %s bootstrap...", type)); + SplashFrame.getInstance().updateStatus(String.format("Downloading %s bootstrap...", type)); + LOGGER.info(String.format("Downloading %s bootstrap from %s ...", type, bootstrapUrl)); // Delete an existing file if it exists try {