diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-29 14:06:58 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-29 14:06:58 +0000 |
commit | a93c650312c11fd22e146ec51d3208da28595152 (patch) | |
tree | 4c5ed9484db85f1fd728c214fab58f99547beecd /thread.c | |
parent | 5256f7752763249288662c6c5ffc5686d244a535 (diff) |
`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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)) { |