[Groonga-commit] droonga/drntest at c48485d [master] Ignore parsing error for invalid responses

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Nov 25 16:08:06 JST 2013


YUKI Hiroshi	2013-11-25 16:08:06 +0900 (Mon, 25 Nov 2013)

  New Revision: c48485d87a5bb482dae89460fb708b74baf48c72
  https://github.com/droonga/drntest/commit/c48485d87a5bb482dae89460fb708b74baf48c72

  Message:
    Ignore parsing error for invalid responses

  Modified files:
    lib/drntest/executor.rb

  Modified: lib/drntest/executor.rb (+6 -1)
===================================================================
--- lib/drntest/executor.rb    2013-11-25 15:54:18 +0900 (05f2b5c)
+++ lib/drntest/executor.rb    2013-11-25 16:08:06 +0900 (bab7f34)
@@ -50,7 +50,12 @@ module Drntest
 
     def normalize_body!(normalized_result)
       return unless groonga_command?
-      normalize_groonga_command_result!(normalized_result[2])
+      begin
+        normalize_groonga_command_result!(normalized_result[2])
+      rescue StandardError => error
+        p error
+        normalized_result
+      end
     end
 
     GROONGA_COMMANDS = [
-------------- next part --------------
HTML����������������������������...
Download 



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