diff options
author | Koichi Sasada <ko1@atdot.net> | 2020-11-25 15:51:31 +0900 |
---|---|---|
committer | Koichi Sasada <ko1@atdot.net> | 2020-11-25 15:51:31 +0900 |
commit | d43d4acf2638ed50ab1542769c5d032c1aa8fb31 (patch) | |
tree | 0d77968119f6233f6e47bd4712879f373018963c | |
parent | a79fe07db6c2de7a477613f8cd5c9c51322367bf (diff) | |
download | ruby-d43d4acf2638ed50ab1542769c5d032c1aa8fb31.tar.gz |
fix error message
-rw-r--r-- | ractor.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -821,7 +821,7 @@ ractor_select(rb_execution_context_t *ec, const VALUE *rs, int alen, VALUE yield wait_status |= wait_taking; } else { - rb_raise(rb_eArgError, "It should be ractor objects"); + rb_raise(rb_eArgError, "should be a ractor object, but %"PRIsVALUE, v); } } rs = NULL; |