3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-12-26 08:10:11 +01:00

Don't throw an AssertionError on failed locale download

Fixes #3589
Dieser Commit ist enthalten in:
Camotoy 2023-03-02 18:40:40 -05:00
Ursprung fca726caa4
Commit 95d10fb7fc

Datei anzeigen

@ -91,7 +91,7 @@ public class WebUtils {
InputStream in = con.getInputStream();
Files.copy(in, Paths.get(fileLocation), StandardCopyOption.REPLACE_EXISTING);
} catch (Exception e) {
throw new AssertionError("Unable to download and save file: " + fileLocation + " (" + reqURL + ")", e);
throw new RuntimeException("Unable to download and save file: " + fileLocation + " (" + reqURL + ")", e);
}
}