fixed update error not shown correctly
This commit is contained in:
		
										
											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(); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user