diff options
Diffstat (limited to 'vm_eval.c')
-rw-r--r-- | vm_eval.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1740,8 +1740,7 @@ rb_throw_obj(VALUE tag, VALUE value) } if (!tt) { VALUE desc = rb_inspect(tag); - RB_GC_GUARD(desc); - rb_raise(rb_eArgError, "uncaught throw %s", RSTRING_PTR(desc)); + rb_raise(rb_eArgError, "uncaught throw %"PRIsVALUE, desc); } th->errinfo = NEW_THROW_OBJECT(tag, 0, TAG_THROW); |