We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8167a47 commit 6600865Copy full SHA for 6600865
src/main/java/net/javadiscord/javabot/api/routes/user_profile/UserProfileController.java
@@ -88,7 +88,7 @@ public ResponseEntity<UserProfileData> getUserProfile(
88
try{
89
user = jda.retrieveUserById(userId).complete();
90
}catch (ErrorResponseException e) {
91
- throw new InvalidEntityIdException(User.class, e.getMeaning());
+ throw new InvalidEntityIdException(User.class, "Cannot fetch user: " + e.getMeaning());
92
}
93
try (Connection con = dataSource.getConnection()) {
94
// Check Cache
0 commit comments