[Groonga-commit] groonga/groonga-query-log at 935585e [master] replayer: show the requested command on error

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Sep 18 10:12:38 JST 2013


Kouhei Sutou	2013-09-18 10:12:38 +0900 (Wed, 18 Sep 2013)

  New Revision: 935585eeb68d943ea676a54b716a6d2e14c7b77c
  https://github.com/groonga/groonga-query-log/commit/935585eeb68d943ea676a54b716a6d2e14c7b77c

  Message:
    replayer: show the requested command on error

  Modified files:
    lib/groonga/query-log/replayer.rb

  Modified: lib/groonga/query-log/replayer.rb (+1 -0)
===================================================================
--- lib/groonga/query-log/replayer.rb    2013-09-18 09:58:24 +0900 (c763fce)
+++ lib/groonga/query-log/replayer.rb    2013-09-18 10:12:38 +0900 (7a45a0b)
@@ -83,6 +83,7 @@ module Groonga
             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)
               return false
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index