Browse Source

Added message to check the internet connection if the download cannot start.

v2.0-beta
CalDescent 3 years ago
parent
commit
581fe17b58
  1. 3
      src/main/java/org/qortal/repository/Bootstrap.java

3
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

Loading…
Cancel
Save