Skip to content

Commit

Permalink
feat: adding key not found log
Browse files Browse the repository at this point in the history
  • Loading branch information
yaansz committed Oct 28, 2023
1 parent 2b0ce19 commit 1a3e6d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/softawii/capivara/core/DroneManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ private void checkIfDroneIsValid(VoiceDrone drone) {
voiceDroneService.destroy(drone.getChannelId());
if(text != null) text.delete().submit();
} catch (KeyNotFoundException e) {
// Ok
LOGGER.info("Key not found, ignoring...");
}
} else {
Optional<Member> ownerOpt = channel.getMembers().stream().filter(member -> member.getIdLong() == drone.getOwnerId()).findFirst();
Expand Down

0 comments on commit 1a3e6d4

Please sign in to comment.