summaryrefslogtreecommitdiffhomepage
path: root/tasks
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-05-26 02:13:02 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2013-05-26 02:13:02 +0900
commit6557ee938a5404b31b064f08c58bb54dfc0ac468 (patch)
treeae233e1c7f91fc3ab23dc5d55d17a232f63d1376 /tasks
parentd78f23d28b4706e58622493de60e17818b491fde (diff)
downloadmruby-6557ee938a5404b31b064f08c58bb54dfc0ac468.tar.gz
mruby-6557ee938a5404b31b064f08c58bb54dfc0ac468.zip
mruby error messages should be directed to stderr
Diffstat (limited to 'tasks')
-rw-r--r--tasks/mrbgem_spec.rake3
1 files changed, 1 insertions, 2 deletions
diff --git a/tasks/mrbgem_spec.rake b/tasks/mrbgem_spec.rake
index 2ed72c3ff..f7029d8ae 100644
--- a/tasks/mrbgem_spec.rake
+++ b/tasks/mrbgem_spec.rake
@@ -136,8 +136,7 @@ module MRuby
unless rbfiles.empty?
f.puts %Q[ mrb_load_irep(mrb, gem_mrblib_irep_#{funcname});]
f.puts %Q[ if (mrb->exc) {]
- f.puts %Q[ mrb_print_backtrace(mrb);]
- f.puts %Q[ mrb_p(mrb, mrb_obj_value(mrb->exc));]
+ f.puts %Q[ mrb_print_error(mrb);]
f.puts %Q[ exit(EXIT_FAILURE);]
f.puts %Q[ }]
end