lib/em-http/request.rb in em-http-request-0.2.10 vs lib/em-http/request.rb in em-http-request-0.2.11
- old
+ new
@@ -70,9 +70,10 @@
blk.call(c) unless blk.nil?
}
rescue EventMachine::ConnectionError => e
conn = EventMachine::HttpClient.new("")
conn.on_error(e.message, true)
+ conn.uri = @req.uri
conn
end
end
end
end
\ No newline at end of file