Navigation Menu

Skip to content

Commit

Permalink
extract: ignore pipe error for "extract | head"
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed May 24, 2018
1 parent 9b94b43 commit dfa1412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/groonga-query-log/command/extract.rb
Expand Up @@ -64,7 +64,7 @@ def run(arguments)
else
extract(log_paths, $stdout)
end
rescue Interrupt
rescue Interrupt, Errno::EPIPE
rescue Error
$stderr.puts($!.message)
return false
Expand Down

0 comments on commit dfa1412

Please sign in to comment.