From d96f04d73a5feb15b9d27bd23af2f7325732bb03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?= Date: Thu, 10 Oct 2019 16:10:58 +0900 Subject: [PATCH] add "[FATAL]" marker on abort Indicate that the situation is fatal. --- error.c | 1 + 1 file changed, 1 insertion(+) diff --git a/error.c b/error.c index 3a63a5f2a9..408a163f1f 100644 --- a/error.c +++ b/error.c @@ -2640,6 +2640,7 @@ rb_raise(VALUE exc, const char *fmt, ...) } else { /* Not in a ruby thread */ + fprintf(stderr, "%s", "[FATAL] "); vfprintf(stderr, fmt, args); abort(); }