1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

fix error message

This commit is contained in:
Koichi Sasada 2020-11-25 15:51:31 +09:00
parent a79fe07db6
commit d43d4acf26

View file

@ -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;