diff --git a/src/main/java/com/alterdekim/javabot/components/BunkerBot.java b/src/main/java/com/alterdekim/javabot/components/BunkerBot.java index 1eec95b..ddc2d4f 100644 --- a/src/main/java/com/alterdekim/javabot/components/BunkerBot.java +++ b/src/main/java/com/alterdekim/javabot/components/BunkerBot.java @@ -250,7 +250,7 @@ public class BunkerBot extends TelegramLongPollingBot { try { return HashUtils.getCRC32(s.getDeclaredConstructor().newInstance().getName().getBytes()).equals(data); } catch (Exception e) { - log.error(e.getMessage()); + e.printStackTrace(); } return false; } @@ -265,7 +265,7 @@ public class BunkerBot extends TelegramLongPollingBot { try { script.getDeclaredConstructor(BunkerBot.class, Player.class).newInstance(this, p).execute(); } catch (Exception e) { - log.error(e.getMessage()); + e.printStackTrace(); } }