aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-04-21 07:43:08 +0300
committerGravatar Vitaly Takmazov2018-04-21 07:43:08 +0300
commit1e5b4767af398358c5d30fe5b315484220ec677d (patch)
treefe4b7bdeec5652f53b916f8d5922fffadc049141
parent3211ae938c2fe8a38baa09e984ffc19ba71c47da (diff)
server: log telegram updates
-rw-r--r--juick-server/src/main/java/com/juick/server/TelegramBotManager.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/juick-server/src/main/java/com/juick/server/TelegramBotManager.java b/juick-server/src/main/java/com/juick/server/TelegramBotManager.java
index bf7c9f39..a024bee6 100644
--- a/juick-server/src/main/java/com/juick/server/TelegramBotManager.java
+++ b/juick-server/src/main/java/com/juick/server/TelegramBotManager.java
@@ -103,6 +103,7 @@ public class TelegramBotManager implements NotificationListener {
}
public void processUpdate(String data) {
+ logger.info("Telegram update: {}", data);
Update update = BotUtils.parseUpdate(data);
Message message = update.message();
if (update.message() == null) {