lib/sniffer/adapters/eventmachine_adapter.rb in sniffer-0.3.2 vs lib/sniffer/adapters/eventmachine_adapter.rb in sniffer-0.4.0
- old
+ new
@@ -48,10 +48,10 @@
end
def on_body_data_with_sniffer(data)
if Sniffer.enabled?
@data_item.response.body = data
- @data_item.log
+ Sniffer.notify_response(@data_item)
end
on_body_data_without_sniffer(data)
end
end