From 54cbc76ecb90fe6eb1e34ab87d5f2b01ca93709b Mon Sep 17 00:00:00 2001 From: Pavel Trepkosh Date: Wed, 13 Dec 2017 16:47:06 +0600 Subject: [PATCH] remove unneeded line --- lib/sniffer/adapters/excon_adapter.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/sniffer/adapters/excon_adapter.rb b/lib/sniffer/adapters/excon_adapter.rb index 04697d1..5d047f1 100644 --- a/lib/sniffer/adapters/excon_adapter.rb +++ b/lib/sniffer/adapters/excon_adapter.rb @@ -15,7 +15,6 @@ def self.included(base) def request_with_sniffer(datum) if Sniffer.enabled? @data_item = Sniffer::DataItem.new - @data_item.response = Sniffer::DataItem::Response.new query = datum[:path] query += "?#{hash_to_query datum[:query]}" if datum[:query] @data_item.request = Sniffer::DataItem::Request.new(host: datum[:host],