Merge pull request #2506 from Abextm/rs-version-helpful

http-api: print a more helpful error message when resources are not filtered
This commit is contained in:
Adam
2018-05-10 17:59:29 -04:00
committed by GitHub

View File

@@ -58,6 +58,10 @@ public class RuneLiteAPI
version = properties.getProperty("runelite.version");
rsVersion = Integer.parseInt(properties.getProperty("rs.version"));
}
catch (NumberFormatException e)
{
throw new RuntimeException("Version string has not been substituted; Re-run maven");
}
catch (IOException ex)
{
logger.error(null, ex);