./lib/le/host/https/tcp.rb in le-1.9.1 vs ./lib/le/host/https/tcp.rb in le-1.9.2
- old
+ new
@@ -18,10 +18,10 @@
def initialize(key, location)
@key = key
@location = URI::encode(location)
begin
- createSocket(key, location)
+ 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
end