src: guard against env != null in node_errors.cc
Otherwise
TriggerUncaughtException()
→ PrintException()
→ GetErrorSource()
can crash.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines