lib/logjam_agent/request.rb in logjam_agent-0.19.4 vs lib/logjam_agent/request.rb in logjam_agent-0.19.5
- old
+ new
@@ -82,11 +82,10 @@
end
def forward
return if @ignored || LogjamAgent.disabled
engine = @fields.delete(:engine)
- # puts @fields.inspect
- @forwarder.forward(LogjamAgent.encode_payload(@fields), :engine => engine)
+ @forwarder.forward(@fields, :engine => engine)
rescue Exception => e
handle_forwarding_error(e)
end
private