mirror of
https://github.com/Qortal/qortal.git
synced 2025-06-03 15:06:59 +00:00
Added message to check the internet connection if the download cannot start.
This commit is contained in:
parent
af8608f302
commit
581fe17b58
@ -400,7 +400,8 @@ public class Bootstrap {
|
|||||||
} catch (MalformedURLException e) {
|
} catch (MalformedURLException e) {
|
||||||
throw new DataException(String.format("Malformed URL when downloading bootstrap: %s", e.getMessage()));
|
throw new DataException(String.format("Malformed URL when downloading bootstrap: %s", e.getMessage()));
|
||||||
} catch (IOException e) {
|
} 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
|
// Download the file and update the status with progress
|
||||||
|
Loading…
x
Reference in New Issue
Block a user