diff options
Diffstat (limited to 'eval_error.c')
-rw-r--r-- | eval_error.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/eval_error.c b/eval_error.c index bd691fcbad..fad8c228f6 100644 --- a/eval_error.c +++ b/eval_error.c @@ -197,6 +197,7 @@ error_print(void) } error: TH_POP_TAG(); + th->errinfo = errinfo; rb_thread_raised_set(th, raised_flag); } |