Skip to content

Commit b1a1393

Browse files
Added missing ExceptionLogger#capture
1 parent 4b7995e commit b1a1393

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/javadiscord/javabot/systems/user_commands/ChangeMyMindCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public void completed(HttpResponse<JsonNode> hr) {
6363
.build()
6464
).queue();
6565
} catch (JSONException jsonException) {
66-
jsonException.printStackTrace();
66+
ExceptionLogger.capture(jsonException, getClass().getSimpleName());
6767
event.getHook().sendMessage("The response from the ChangeMyMind API was not properly formatted.").queue();
6868
}
6969
}

0 commit comments

Comments
 (0)