diff options
author | 卜部昌平 <[email protected]> | 2019-10-10 16:10:58 +0900 |
---|---|---|
committer | 卜部昌平 <[email protected]> | 2019-10-10 17:10:21 +0900 |
commit | d96f04d73a5feb15b9d27bd23af2f7325732bb03 (patch) | |
tree | 6a2b5c371b8bf75eb7f4a69012dbea9d9448d51f /error.c | |
parent | 0b26f56a77a6dabe2b1c09c4569ed846798afcdc (diff) |
add "[FATAL]" marker on abort
Indicate that the situation is fatal.
Diffstat (limited to 'error.c')
-rw-r--r-- | error.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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(); } |