ruby-changes:63751
From: Koichi <ko1@a...>
Date: Wed, 25 Nov 2020 16:17:26 +0900 (JST)
Subject: [ruby-changes:63751] d43d4acf26 (master): fix error message
https://git.ruby-lang.org/ruby.git/commit/?id=d43d4acf26 From d43d4acf2638ed50ab1542769c5d032c1aa8fb31 Mon Sep 17 00:00:00 2001 From: Koichi Sasada <ko1@a...> Date: Wed, 25 Nov 2020 15:51:31 +0900 Subject: fix error message diff --git a/ractor.c b/ractor.c index 226c9bb..491a1e3 100644 --- a/ractor.c +++ b/ractor.c @@ -821,7 +821,7 @@ ractor_select(rb_execution_context_t *ec, const VALUE *rs, int alen, VALUE yield https://github.com/ruby/ruby/blob/trunk/ractor.c#L821 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; -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/