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();
|
apiOutput = ina.readLine();
|
||||||
ina.close();
|
ina.close();
|
||||||
} catch (IOException e1) {
|
} catch (IOException e1) {
|
||||||
mainWindowController.showErrorMsg(mainWindowController.errorUpdateV, e1);
|
Platform.runLater(() -> {
|
||||||
e1.printStackTrace();
|
mainWindowController.showErrorMsg(mainWindowController.errorUpdateV, e1);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
JsonObject object = Json.parse(apiOutput).asObject();
|
JsonObject object = Json.parse(apiOutput).asObject();
|
||||||
|
|
Loading…
Reference in New Issue