http-api: print a more helpful error message when resources are not filtered

This commit is contained in:
Max Weber
2018-05-09 02:35:02 -06:00
committed by Adam
parent 1044781d68
commit 6f55163152

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);