aboutsummaryrefslogtreecommitdiffstats
path: root/thread.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-29 14:06:58 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-29 14:06:58 +0000
commit1262176e4a9dc164d236adad5f6b08f57b731337 (patch)
tree4c5ed9484db85f1fd728c214fab58f99547beecd /thread.c
parent70fa77d88c07c3867ce9549a43f214b0781d42c6 (diff)
downloadruby-1262176e4a9dc164d236adad5f6b08f57b731337.tar.gz
`rb_ec_error_print()`.
* eval_error.c (rb_threadptr_error_print): renamed to rb_ec_error_print() and it accepts `ec`. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread.c b/thread.c
index 5a98a19cf3..8e32b04424 100644
--- a/thread.c
+++ b/thread.c
@@ -642,7 +642,7 @@ thread_start_func_2(rb_thread_t *th, VALUE *stack_start, VALUE *register_stack_s
VALUE mesg = rb_thread_to_s(th->self);
rb_str_cat_cstr(mesg, " terminated with exception:\n");
rb_write_error_str(mesg);
- rb_threadptr_error_print(th, errinfo);
+ rb_ec_error_print(th->ec, errinfo);
}
if (th->vm->thread_abort_on_exception ||
th->abort_on_exception || RTEST(ruby_debug)) {