From dc43b96f91773b3801d8cd68e14310858798ae90 Mon Sep 17 00:00:00 2001 From: FerroEduardo <47820549+FerroEduardo@users.noreply.github.com> Date: Wed, 20 Dec 2023 16:21:05 -0300 Subject: [PATCH] bugfix: unnecessary log handling --- .../com/softawii/capivara/listeners/events/VoiceEvents.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/softawii/capivara/listeners/events/VoiceEvents.java b/src/main/java/com/softawii/capivara/listeners/events/VoiceEvents.java index 3be3e84..c4c8456 100644 --- a/src/main/java/com/softawii/capivara/listeners/events/VoiceEvents.java +++ b/src/main/java/com/softawii/capivara/listeners/events/VoiceEvents.java @@ -160,9 +160,8 @@ public void onGenericPermissionOverride(@NotNull GenericPermissionOverrideEvent try { droneManager.createControlPanel(voice); } catch (KeyNotFoundException e) { - // Not Found... + // Not Found... ignoring LOGGER.debug(method + " : error : " + e.getMessage()); - handleException(e, event); } } } catch (Exception e) { @@ -180,9 +179,8 @@ public void onGenericChannelUpdate(@NotNull GenericChannelUpdateEvent event) try { droneManager.createControlPanel(channel); } catch (KeyNotFoundException e) { - // Not Found... + // Not Found... ignoring LOGGER.debug("onGenericChannelUpdate : error : " + e.getMessage()); - handleException(e, event); } } } catch (Exception e) {