Kouhei Sutou
null+****@clear*****
Mon Jun 11 14:23:44 JST 2018
Kouhei Sutou 2018-05-24 13:56:17 +0900 (Thu, 24 May 2018) New Revision: dfa14121f14dcacdfb8e13a8fb96f0ca99f57361 https://github.com/groonga/groonga-query-log/commit/dfa14121f14dcacdfb8e13a8fb96f0ca99f57361 Message: extract: ignore pipe error for "extract | head" Modified files: lib/groonga-query-log/command/extract.rb Modified: lib/groonga-query-log/command/extract.rb (+1 -1) =================================================================== --- lib/groonga-query-log/command/extract.rb 2018-05-21 21:29:48 +0900 (a7cd97e) +++ lib/groonga-query-log/command/extract.rb 2018-05-24 13:56:17 +0900 (4cd89a7) @@ -64,7 +64,7 @@ module GroongaQueryLog else extract(log_paths, $stdout) end - rescue Interrupt + rescue Interrupt, Errno::EPIPE rescue Error $stderr.puts($!.message) return false -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180611/9774a01f/attachment.htm