Browse Source

Improved exception message

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

2
src/main/java/org/qortal/repository/Bootstrap.java

@ -393,7 +393,7 @@ 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 download bootstrap: %s", e.getMessage())); throw new DataException(String.format("Unable to get bootstrap file size: %s", e.getMessage()));
} }
// Download the file and update the status with progress // Download the file and update the status with progress

Loading…
Cancel
Save