Skip to content

Commit

Permalink
http-api: print a more helpful error message when resources are not f…
Browse files Browse the repository at this point in the history
…iltered
  • Loading branch information
abextm authored and Adam- committed May 10, 2018
1 parent dc29f0c commit 2986ea7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions http-api/src/main/java/net/runelite/http/api/RuneLiteAPI.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2986ea7

Please sign in to comment.