Kouhei Sutou
null+****@clear*****
Fri Dec 6 11:29:02 JST 2013
Kouhei Sutou 2013-12-06 11:29:02 +0900 (Fri, 06 Dec 2013) New Revision: 9306525ce00c9e9c3ca39a2ed9b100f5a584c11a https://github.com/groonga/groonga-query-log/commit/9306525ce00c9e9c3ca39a2ed9b100f5a584c11a Message: Don't log backtrace by interrupt on stream mode Because interrupting is a normal finish process on stream mode. Modified files: lib/groonga/query-log/analyzer.rb Modified: lib/groonga/query-log/analyzer.rb (+6 -1) =================================================================== --- lib/groonga/query-log/analyzer.rb 2013-12-06 11:27:07 +0900 (48e89d7) +++ lib/groonga/query-log/analyzer.rb 2013-12-06 11:29:02 +0900 (d422001) @@ -81,7 +81,12 @@ module Groonga end end - parse(log_paths, &process_statistic) + begin + parse(log_paths, &process_statistic) + rescue Interrupt + raise unless stream + end + if stream streamer.finish return -------------- next part -------------- HTML����������������������������...Download