diff --git a/src/main/java/com/eu/habbo/habbohotel/games/Game.java b/src/main/java/com/eu/habbo/habbohotel/games/Game.java index 6bff094a..f8aa6c37 100644 --- a/src/main/java/com/eu/habbo/habbohotel/games/Game.java +++ b/src/main/java/com/eu/habbo/habbohotel/games/Game.java @@ -74,7 +74,7 @@ public abstract class Game implements Runnable { habbo.getClient().sendResponse(new GuideSessionPartnerIsPlayingComposer(true)); return true; } - } catch (NoSuchMethodException | SecurityException e) { + } catch (Exception e) { LOGGER.error("Caught exception", e); } diff --git a/src/main/java/com/eu/habbo/habbohotel/guilds/forums/ForumThread.java b/src/main/java/com/eu/habbo/habbohotel/guilds/forums/ForumThread.java index eff68a99..f4325c0d 100644 --- a/src/main/java/com/eu/habbo/habbohotel/guilds/forums/ForumThread.java +++ b/src/main/java/com/eu/habbo/habbohotel/guilds/forums/ForumThread.java @@ -73,7 +73,8 @@ public class ForumThread implements Runnable, ISerialize { try { this.lastComment = ForumThreadComment.getById(set.getInt("last_comment_id")); - } catch (SQLException e)) { + } catch (SQLException e) { + LOGGER.error("ForumThread last_comment_id exception", e); } this.comments = new THashMap<>();