[Groonga-commit] groonga/groonga at 214933f [master] mruby: use the same error message format

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Aug 9 21:36:07 JST 2014


Kouhei Sutou	2014-08-09 21:36:07 +0900 (Sat, 09 Aug 2014)

  New Revision: 214933fbb8b2c522825204bfb43286f152641aee
  https://github.com/groonga/groonga/commit/214933fbb8b2c522825204bfb43286f152641aee

  Message:
    mruby: use the same error message format

  Modified files:
    lib/mrb/scripts/scan_info_builder.rb

  Modified: lib/mrb/scripts/scan_info_builder.rb (+1 -1)
===================================================================
--- lib/mrb/scripts/scan_info_builder.rb    2014-08-09 20:14:36 +0900 (d110a7e)
+++ lib/mrb/scripts/scan_info_builder.rb    2014-08-09 21:36:07 +0900 (0d88f40)
@@ -89,7 +89,7 @@ module Groonga
             status = Status::COL1
             data.args << code.value
           when Status::COL1
-            raise "invalid expression: can't use column as a value: #{code.value.inspect}"
+            raise "invalid expression: can't use column as a value: <#{code.value.name}>: <#{@expression.grn_inspect}>"
             status = Status::COL2
           when Status::COL2
             # Do nothing
-------------- next part --------------
HTML����������������������������...
Download 



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