diff --git a/telegrambots/src/main/java/org/telegram/telegrambots/updatesreceivers/DefaultBotSession.java b/telegrambots/src/main/java/org/telegram/telegrambots/updatesreceivers/DefaultBotSession.java index e82b130c..8de4ba24 100644 --- a/telegrambots/src/main/java/org/telegram/telegrambots/updatesreceivers/DefaultBotSession.java +++ b/telegrambots/src/main/java/org/telegram/telegrambots/updatesreceivers/DefaultBotSession.java @@ -261,7 +261,7 @@ public class DefaultBotSession implements BotSession { } } } catch (SocketException e) { - if (!e.getMessage().equals("Socket Closed") { + if (!e.getMessage().equals("Socket Closed")) { BotLogger.severe(LOGTAG, e); } } catch (SocketTimeoutException e) {