Kouhei Sutou
null+****@clear*****
Fri Sep 20 12:27:22 JST 2013
Kouhei Sutou 2013-09-20 12:27:22 +0900 (Fri, 20 Sep 2013) New Revision: 17883ea2f19d31e3d0ce11aea830839df145c616 https://github.com/groonga/groonga-query-log/commit/17883ea2f19d31e3d0ce11aea830839df145c616 Message: Indent Modified files: lib/groonga/query-log/memory-leak-detector.rb Modified: lib/groonga/query-log/memory-leak-detector.rb (+8 -7) =================================================================== --- lib/groonga/query-log/memory-leak-detector.rb 2013-09-20 12:27:14 +0900 (fc0d2bf) +++ lib/groonga/query-log/memory-leak-detector.rb 2013-09-20 12:27:22 +0900 (8c564ac) @@ -34,13 +34,14 @@ module Groonga command["cache"] = "no" @options.create_client do |client| begin - check_command(client, command) - rescue Groonga::Client::Connection::Error - # TODO: add error log mechanism - $stderr.puts(Time.now.iso8601) - $stderr.puts(statistic.command.original_source) - $stderr.puts($!.raw_error.message) - $stderr.puts($!.raw_error.backtrace) + check_command(client, command) + rescue Groonga::Client::Connection::Error + # TODO: add error log mechanism + $stderr.puts(Time.now.iso8601) + $stderr.puts(statistic.command.original_source) + $stderr.puts($!.raw_error.message) + $stderr.puts($!.raw_error.backtrace) + end end end end -------------- next part -------------- HTML����������������������������...Download