Fix hidden error if request was never even started
If a HTTP request failed to even connect, then the logic determining
whether to retry a partial download would inadvertently throw an error
before it could re-throw the causing error, which resulted in a
confusing error dialog.
1 parent b7be91b commit 5b742bc1a1905ab4275086e0bdb6c391448aa19c
@Henry Le Grys Henry Le Grys authored on 29 May 2021
Showing 2 changed files
View
launcher/src/main/java/com/skcraft/launcher/install/HttpDownloader.java
View
launcher/src/main/java/com/skcraft/launcher/util/HttpRequest.java