lib/watirspec/server.rb in watir-6.5.0 vs lib/watirspec/server.rb in watir-6.6.0
- old
+ new
@@ -52,10 +52,10 @@
status, headers, body = app.response(path, read_body(client))
headers = prepare_headers(headers, body)
client.write(response(status, headers, body))
rescue Errno::ECONNRESET
- STDERR.puts 'Client reset connection, skipping.'
+ Watir.logger.warn 'Client reset connection, skipping.'
ensure
client.close
end
def read_body(client)