module: fix `e.stack` error when throwing undefined or null
Fix #19281 (closed)
I just deleted one e.stack
line. There's another e.stack
line in DefaultResolve.js, with a comment. Seems that shouldn't be deleted.
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