fixed update error not shown correctly
This commit is contained in:
parent
43ef370596
commit
888a2c5014
Binary file not shown.
|
@ -49,8 +49,9 @@ public class updater implements Runnable{
|
|||
apiOutput = ina.readLine();
|
||||
ina.close();
|
||||
} catch (IOException e1) {
|
||||
mainWindowController.showErrorMsg(mainWindowController.errorUpdateV, e1);
|
||||
e1.printStackTrace();
|
||||
Platform.runLater(() -> {
|
||||
mainWindowController.showErrorMsg(mainWindowController.errorUpdateV, e1);
|
||||
});
|
||||
}
|
||||
|
||||
JsonObject object = Json.parse(apiOutput).asObject();
|
||||
|
|
Loading…
Reference in New Issue