Skip to content

repl: remove internal frames from runtime errors

When a user executes code in the REPLServer which generates an exception, there is no need to display the REPLServer internal stack frames.

Based on work by @princejwesley.

Should there be an option to display these stack frames for the purposes of Node.js core development, specifically on the REPL itself?

Ref: https://github.com/nodejs/node/pull/9601

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

repl

Merge request reports

Loading