From 581fe17b58f89b5d8e5baee0408ba191526f0caf Mon Sep 17 00:00:00 2001 From: CalDescent Date: Tue, 12 Oct 2021 08:08:48 +0100 Subject: [PATCH] Added message to check the internet connection if the download cannot start. --- src/main/java/org/qortal/repository/Bootstrap.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/qortal/repository/Bootstrap.java b/src/main/java/org/qortal/repository/Bootstrap.java index b12f35bf..6e72067e 100644 --- a/src/main/java/org/qortal/repository/Bootstrap.java +++ b/src/main/java/org/qortal/repository/Bootstrap.java @@ -400,7 +400,8 @@ public class Bootstrap { } catch (MalformedURLException e) { throw new DataException(String.format("Malformed URL when downloading bootstrap: %s", e.getMessage())); } catch (IOException e) { - throw new DataException(String.format("Unable to get bootstrap file size: %s", e.getMessage())); + throw new DataException(String.format("Unable to get bootstrap file size from %s. " + + "Please check your internet connection.", e.getMessage())); } // Download the file and update the status with progress