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

This commit is contained in:
CalDescent 2021-10-12 08:08:48 +01:00
parent af8608f302
commit 581fe17b58

View File

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