lib/telegram/bot/client.rb in telegram-bot-ruby-0.2.5 vs lib/telegram/bot/client.rb in telegram-bot-ruby-0.2.6
- old
+ new
@@ -26,9 +26,11 @@
update = Types::Update.new(data)
@offset = update.update_id.next
yield update.message
end
end
+ rescue Net::ReadTimeout
+ retry
end
end
end
end