summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm.c b/vm.c
index 83b0a9cffc..be04f5db01 100644
--- a/vm.c
+++ b/vm.c
@@ -2518,6 +2518,7 @@ th_init(rb_thread_t *th, VALUE self)
th->retval = Qundef;
#endif
th->name = Qnil;
+ th->report_on_exception = th->vm->thread_report_on_exception;
}
static VALUE