Skip to content

Commit

Permalink
fix(cache): updated member caches to include proper support for de-co…
Browse files Browse the repository at this point in the history
…mpilation of member json payloads
  • Loading branch information
seailz committed Jun 13, 2023
1 parent 1c3506a commit af7beff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/seailz/discordjar/cache/Cache.java
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public T getById(String id) throws DiscordRequest.UnhandledDiscordAPIErrorExcept
} else throw new IllegalArgumentException(ex);
} catch (IllegalAccessException | InvocationTargetException | IllegalArgumentException e1) {
Logger.getLogger("DiscordJar").severe("Was unable to return object from cache, please report this to discord.jar's github!");
throw new RuntimeException(e1);
return null;
}
}
}
Expand Down

0 comments on commit af7beff

Please sign in to comment.