fix error message
This commit is contained in:
parent
a79fe07db6
commit
d43d4acf26
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;
|
wait_status |= wait_taking;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
rb_raise(rb_eArgError, "It should be ractor objects");
|
rb_raise(rb_eArgError, "should be a ractor object, but %"PRIsVALUE, v);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
rs = NULL;
|
rs = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user