Permalink
Browse files

use latest node-mruby

  • Loading branch information...
1 parent a6a1419 commit fcda7219a631c607456fd3157d5f0df189d541ba @tokuhirom committed Nov 1, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/node_js_api.cc
  2. +1 −1 vendor/mruby
View
@@ -46,7 +46,7 @@ static mrb_value node_require(mrb_state *mrb, mrb_value self) {
mrb_p(mrb, ret);
return ret;
} else {
- mrb_raise(mrb, E_RUNTIME_ERROR, "Cannot load a library: %s", RSTRING_PTR(rstr));
+ mrb_raisef(mrb, E_RUNTIME_ERROR, "Cannot load a library: %s", RSTRING_PTR(rstr));
return mrb_nil_value();
}
}

0 comments on commit fcda721

Please sign in to comment.