Skip to content

repl: improve error output

  1. Currently extra properties on an error will be ignored, if thrown. This information will from now on be visible.
  2. In case someone threw a non error object it would have resulted in [object Object]. Instead, the full object will now be visible.
  3. Some cases were not detected properly as error before and "Thrown: " was visible before. That is now fixed.
  4. Refactor ERR_SCRIPT_EXECUTION_INTERRUPTED stack handling.
  5. Error objects contained the domain properties due to the internal handling. Those are now removed as they do not provide a benefit for the user.

Refs: #20253 (closed)

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading