[Groonga-commit] groonga/grntest at 655271c [master] Fix encoding error on error report

Back to archive index

Kouhei Sutou null+****@clear*****
Mon May 14 14:52:38 JST 2018


Kouhei Sutou	2018-05-14 14:52:38 +0900 (Mon, 14 May 2018)

  New Revision: 655271c5d97eb0966ade8e76987a63db294e1ecf
  https://github.com/groonga/grntest/commit/655271c5d97eb0966ade8e76987a63db294e1ecf

  Message:
    Fix encoding error on error report

  Modified files:
    lib/grntest/executors/base-executor.rb

  Modified: lib/grntest/executors/base-executor.rb (+2 -2)
===================================================================
--- lib/grntest/executors/base-executor.rb    2018-04-12 10:47:13 +0900 (393b848)
+++ lib/grntest/executors/base-executor.rb    2018-05-14 14:52:38 +0900 (e8481f4)
@@ -58,11 +58,11 @@ module Grntest
                 parser << line
               rescue Error, Groonga::Command::Parser::Error
                 line_info = "#{script_path}:#{script_file.lineno}:#{line.chomp}"
-                log_error("#{line_info}: #{$!.message}")
+                log_error("#{line_info}: #{$!.message.b}")
                 if $!.is_a?(Groonga::Command::Parser::Error)
                   @context.abort
                 else
-                  log_error("#{line_info}: #{$!.message}")
+                  log_error("#{line_info}: #{$!.message.b}")
                   raise unles****@conte*****_level?
                 end
               end
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180514/0e5f5fcc/attachment.htm 



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