Skip to content
Snippets Groups Projects
Commit 91d5e6eb authored by Robert Goldmann's avatar Robert Goldmann
Browse files

fixed uncaught exception if chnagelog doesn't contain versioncode

parent e6ec309b
No related branches found
No related tags found
No related merge requests found
......@@ -105,7 +105,7 @@ public class Updater
return parser.parse(data.toString()).getAsJsonObject();
}
public String getChangelog(int versionCode) throws IOException
public String getChangelog(int versionCode) throws Exception
{
JsonObject changelogJSON = getChangelogFromURL();
......
......@@ -6,5 +6,6 @@
"5":"-bugfixes\n-reports can now include a budget calculation\n",
"6":"Fixed critical bug that prevents repeating payments from being correctly updated for future months.\n",
"7":"-localized all strings into external file\n-added english localization\n-added language chooser to settings\n-remove javafx.Color from server --> server should no run on linux with normal jdk\n-bugfixes:\n -[FIXED] - report budget is calculated incorrectly\n -[FIXED] - refresh after database imprt/delete missing\n -[FIXED] - critical bug concerning repeating payments\n",
"8":"bugfixes:\n -broken month chart if january is selected\n -wrong footer in month report\n -wrong initial file name for month report\n -server start failure\n"
"8":"bugfixes:\n -broken month chart if january is selected\n -wrong footer in month report\n -wrong initial file name for month report\n -server start failure\n",
"9":""
}
\ No newline at end of file
......@@ -410,7 +410,7 @@ public class Controller
}
});
}
catch(IOException e)
catch(Exception e)
{
Logger.error(e);
AlertGenerator.showAlert(AlertType.ERROR,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment