./lib/le/host/https/tcp.rb in le-1.8 vs ./lib/le/host/https/tcp.rb in le-1.8.1

- old
+ new

@@ -56,11 +56,10 @@ end # Sends the log to the Logentries Server begin @conn.print(message + "\r\n") rescue OpenSSL::SSL::SSLError, TimeoutError, Errno::EHOSTUNREACH, Errno::ECONNREFUSED, Errno::ENOTCONN, Errno::ECONNRESET, Errno::ETIMEDOUT, EOFError => e - - $stderr.puts "WARNING: #{e.class} sending log #{e.message}" + $stderr.puts "WARNING: #{e.class} sending log #{e.message}" begin createSocket(@key, @location) rescue OpenSSL::SSL::SSLError, TimeoutError, Errno::EHOSTUNREACH, Errno::ECONNREFUSED, Errno::ECONNRESET, Errno::ETIMEDOUT, EOFError => e $stderr.puts "WARNING: #{e.class} creating the connection to Logentries. #{e.message}" end