From d96f04d73a5feb15b9d27bd23af2f7325732bb03 Mon Sep 17 00:00:00 2001 From: 卜部昌平 Date: Thu, 10 Oct 2019 16:10:58 +0900 Subject: add "[FATAL]" marker on abort Indicate that the situation is fatal. --- error.c | 1 + 1 file changed, 1 insertion(+) (limited to 'error.c') 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(); } -- cgit v1.2.3