Skip to content

doc: add --abort-on-uncaught-exception + vm note

Rodrigo Muino Tomonari requested to merge github/fork/cjihrig/vm into master

The --abort-on-uncaught-exception flag is not compatible with error handling involving the vm module. This is because V8 treats exceptions thrown from a VM as unhandled, and cause the process to abort. This commit adds a note to work around the issue using process.setUncaughtExceptionCaptureCallback().

Fixes: https://github.com/nodejs/node/issues/13258

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

doc

Merge request reports

Loading