diff --git a/Source/Modules/ruby.cxx b/Source/Modules/ruby.cxx index bcdfab10e..bf89ff6e1 100644 --- a/Source/Modules/ruby.cxx +++ b/Source/Modules/ruby.cxx @@ -2161,7 +2161,7 @@ public: Printv(rescue->code, Str(tm), "\n", NIL); Printv(rescue->code, "else {\n", NIL); Printf(rescue->code, "%s--;\n", depthCountName); - Printv(rescue->code, "rb_raise(error, \"\");\n", NIL); + Printv(rescue->code, "rb_exc_raise(error);\n", NIL); Printv(rescue->code, "}", NIL); Printv(rescue->code, "}", NIL);