From 357559ae6e6e15b34f144ea057dbd1f876c7c638 Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Tue, 12 Nov 2024 16:36:55 +0700 Subject: [PATCH] fix: ignore exceptions in irc queue tick --- src/main/java/me/chayapak1/chomens_bot/plugins/IRCPlugin.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/me/chayapak1/chomens_bot/plugins/IRCPlugin.java b/src/main/java/me/chayapak1/chomens_bot/plugins/IRCPlugin.java index 62fb1a84..6de39576 100644 --- a/src/main/java/me/chayapak1/chomens_bot/plugins/IRCPlugin.java +++ b/src/main/java/me/chayapak1/chomens_bot/plugins/IRCPlugin.java @@ -202,9 +202,7 @@ public class IRCPlugin extends ListenerAdapter { bot.sendIRC().message(entry.getKey(), withIRCColors); } - } catch (Exception e) { - e.printStackTrace(); - } + } catch (Exception ignored) {} } private void addMessageToQueue (Bot bot, String message) {