Skip to content

Commit

Permalink
it's too much output, reverting this change
Browse files Browse the repository at this point in the history
  • Loading branch information
maxdemarzi committed Feb 19, 2014
1 parent 3e2a2cc commit d9e9e89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/neography/connection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def handle_4xx_500_response(response, code, body, path, query_body)
message = parsed_body["message"]
stacktrace = parsed_body["stacktrace"]

@logger.error "#{response.dump} error: #{body} request: #{request}" if @log_enabled
@logger.error "#{response.dump} error: #{body}" if @log_enabled
raise_errors(code, parsed_body["exception"], message, stacktrace, request, index)
end

Expand Down

1 comment on commit d9e9e89

@OpenCoderX
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe you could accept a list of request keys, and if the list is supplied, log those keys rather than the entire request?

Please sign in to comment.