lib/lifen/client.rb in lifen-1.6.3 vs lib/lifen/client.rb in lifen-1.6.4

- old
+ new

@@ -70,9 +70,11 @@ def before_request end def response_error(response, params) + params[:payload] = "filtered" if params.is_a?(Hash) and params.has_key? :payload + "#{response.env.method.upcase} '#{response.env.url}' with params '#{params.inspect}' and bearer '#{trucanted_bearer}'" end def trucanted_bearer if m = /^(.{24})(.*)$/.match(bearer) \ No newline at end of file