[Groonga-commit] groonga/groonga at 5f90325 [master] mrb: use inspect for error value

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Apr 28 15:01:55 JST 2015


Kouhei Sutou	2015-04-28 15:01:55 +0900 (Tue, 28 Apr 2015)

  New Revision: 5f903256a04c7318283bb7e11ed6101d12f55ad7
  https://github.com/groonga/groonga/commit/5f903256a04c7318283bb7e11ed6101d12f55ad7

  Message:
    mrb: use inspect for error value

  Modified files:
    lib/mrb/mrb_converter.c

  Modified: lib/mrb/mrb_converter.c (+1 -1)
===================================================================
--- lib/mrb/mrb_converter.c    2015-05-06 19:07:58 +0900 (e4c3ace)
+++ lib/mrb/mrb_converter.c    2015-04-28 15:01:55 +0900 (387d921)
@@ -130,7 +130,7 @@ grn_mrb_value_to_raw_data(mrb_state *mrb,
                "%S: failed to convert to %S: %S",
                mrb_str_new_static(mrb, context, strlen(context)),
                mrb_str_new_static(mrb, domain_name, domain_name_size),
-               mrb_value_);
+               mrb_funcall(mrb, mrb_value_, "inspect", 0));
   }
   *raw_value = GRN_BULK_HEAD(&(buffer->to));
   *raw_value_size = GRN_BULK_VSIZE(&(buffer->to));
-------------- next part --------------
HTML����������������������������...
Descargar 



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