[Groonga-commit] groonga/groonga at 34bbe84 [master] mrb: raise error on load

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Dec 22 23:59:10 JST 2014


Kouhei Sutou	2014-12-22 23:59:10 +0900 (Mon, 22 Dec 2014)

  New Revision: 34bbe84d6669578c74216f29de701bd062191a5d
  https://github.com/groonga/groonga/commit/34bbe84d6669578c74216f29de701bd062191a5d

  Message:
    mrb: raise error on load

  Modified files:
    lib/mrb.c

  Modified: lib/mrb.c (+1 -1)
===================================================================
--- lib/mrb.c    2014-12-22 23:58:38 +0900 (c488adf)
+++ lib/mrb.c    2014-12-22 23:59:10 +0900 (abd5854)
@@ -126,7 +126,7 @@ grn_mrb_load(grn_ctx *ctx, const char *path)
     SERR(message);
     exception = mrb_exc_new(mrb, E_LOAD_ERROR,
                             ctx->errbuf, strlen(ctx->errbuf));
-    mrb->exc = mrb_obj_ptr(exception);
+    mrb_exc_raise(mrb, exception);
     return mrb_nil_value();
   }
 
-------------- next part --------------
HTML����������������������������...
다운로드 



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