diff options
Diffstat (limited to 'src/main/java/com/juick/TelegramBotManager.java')
-rw-r--r-- | src/main/java/com/juick/TelegramBotManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/TelegramBotManager.java b/src/main/java/com/juick/TelegramBotManager.java index c9a2dadd..3335b61a 100644 --- a/src/main/java/com/juick/TelegramBotManager.java +++ b/src/main/java/com/juick/TelegramBotManager.java @@ -133,7 +133,7 @@ public class TelegramBotManager implements NotificationListener { if (update.message() == null) { message = update.editedMessage(); if (message == null) { - logger.error("error parsing telegram update: {}", update); + // not a message return; } User user_from = userService.getUserByTelegramId(message.chat().id()).orElse(AnonymousUser.INSTANCE); |