aboutsummaryrefslogtreecommitdiffstats
path: root/eval_error.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval_error.c')
-rw-r--r--eval_error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval_error.c b/eval_error.c
index ff3db23a6b..b6f680748c 100644
--- a/eval_error.c
+++ b/eval_error.c
@@ -294,7 +294,7 @@ error_handle(int ex)
/* no message when exiting by signal */
}
else {
- error_print(th);
+ rb_threadptr_error_print(th, errinfo);
}
break;
}