src: try showing stack traces when process._fatalException is not set
So that the stack trace of errors shown in internal code run during bootstrap (before process._fatalException is set) can be printed.
Refs: https://github.com/nodejs/node/pull/29593
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines