# File lib/twitter/json_stream.rb, line 107 def receive_data data begin @buffer.extract(data).each do |line| receive_line(line) end rescue Exception => e receive_error("#{e.class}: " + [e.message, e.backtrace].flatten.join("\n\t")) close_connection return end end