From 61acf1ec590e1e783c25b0c270235ff47eefffdb Mon Sep 17 00:00:00 2001 From: brenoepic <59066707+brenoepics@users.noreply.github.com> Date: Thu, 28 Apr 2022 20:19:49 -0300 Subject: [PATCH] printStackTrace to LOGGER --- .../outgoing/guilds/forums/ForumDataMessageComposer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/ForumDataMessageComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/ForumDataMessageComposer.java index 51413c28..045ae4fc 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/ForumDataMessageComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/ForumDataMessageComposer.java @@ -160,7 +160,7 @@ public class ForumDataMessageComposer extends MessageComposer { this.response.appendBoolean(guild.getOwnerId() == this.habbo.getHabboInfo().getId() || isStaff || isAdmin); //Can Mod (staff) } } catch (Exception e) { - e.printStackTrace(); + LOGGER.error("Caught SQL exception", e); return new ErrorReportComposer(500).compose(); }