Kouhei Sutou
null+****@clear*****
Mon Oct 14 11:00:29 JST 2013
Kouhei Sutou 2013-10-14 11:00:29 +0900 (Mon, 14 Oct 2013) New Revision: b71b93ed7d64128fa5a77e3e52b32521fdfd5122 https://github.com/groonga/grntest/commit/b71b93ed7d64128fa5a77e3e52b32521fdfd5122 Message: http: return response itself on error Modified files: lib/grntest/executors/http-executor.rb Modified: lib/grntest/executors/http-executor.rb (+1 -2) =================================================================== --- lib/grntest/executors/http-executor.rb 2013-10-03 17:18:37 +0900 (9e43d45) +++ lib/grntest/executors/http-executor.rb 2013-10-14 11:00:29 +0900 (cfcd497) @@ -35,8 +35,7 @@ module Grntest "#{response.read}\n" end rescue OpenURI::HTTPError - message = "Failed to get response from groonga: #{$!}: <#{url}>" - raise Error.new(message) + $!.io.read end end -------------- next part -------------- HTML����������������������������...Download