lib/telegram/bot/client.rb in telegram-bot-ruby-0.11.0 vs lib/telegram/bot/client.rb in telegram-bot-ruby-0.12.0

- old
+ new

@@ -35,10 +35,10 @@ @options[:offset] = update.update_id.next message = update.current_message log_incoming_message(message) yield message end - rescue Faraday::Error::TimeoutError + rescue Faraday::TimeoutError retry end private