summaryrefslogtreecommitdiff
path: root/cont.c
diff options
context:
space:
mode:
Diffstat (limited to 'cont.c')
-rw-r--r--cont.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cont.c b/cont.c
index f826cb96d5..8521a07d76 100644
--- a/cont.c
+++ b/cont.c
@@ -1164,6 +1164,9 @@ rb_fiber_start(void)
if (state == TAG_RAISE) {
rb_threadptr_async_errinfo_enque(th, th->errinfo);
}
+ else if (state == TAG_FATAL) {
+ rb_threadptr_async_errinfo_enque(th, th->errinfo);
+ }
else {
VALUE err = rb_vm_make_jump_tag_but_local_jump(state, th->errinfo);
if (!NIL_P(err))