lib/chatterbot/retweet.rb in chatterbot-1.0.2 vs lib/chatterbot/retweet.rb in chatterbot-2.0.0.pre
- old
+ new
@@ -14,14 +14,10 @@
if debug_mode?
debug "I'm in debug mode, otherwise I would retweet with tweet id: #{id}"
return
end
#:nocov:
-
- begin
- client.retweet id
- rescue StandardError => e
- puts e.inspect
- end
+
+ client.retweet id
end
end
end