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:
@@ -58,6 +58,10 @@ public class RuneLiteAPI
|
|||||||
version = properties.getProperty("runelite.version");
|
version = properties.getProperty("runelite.version");
|
||||||
rsVersion = Integer.parseInt(properties.getProperty("rs.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)
|
catch (IOException ex)
|
||||||
{
|
{
|
||||||
logger.error(null, ex);
|
logger.error(null, ex);
|
||||||
|
|||||||
Reference in New Issue
Block a user