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:
parent
a79fe07db6
commit
d43d4acf26
1 changed files with 1 additions and 1 deletions
2
ractor.c
2
ractor.c
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue