Skip to content

Commit

Permalink
Log response as JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed May 27, 2016
1 parent b93f012 commit e9a0f53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/groonga/query-log/server-verifier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ def verify_command(groonga1_client, groonga2_client, command)
def report_result(output, result)
command, response1, response2 = result
output.puts("command: #{command.original_source}")
output.puts("response1: #{response1.body}")
output.puts("response2: #{response2.body}")
output.puts("response1: #{response1.body.to_json}")
output.puts("response2: #{response2.body.to_json}")
end

def log_client_error(error)
Expand Down

0 comments on commit e9a0f53

Please sign in to comment.