Skip to content

src, util: move error decoration to native

Fixes: #19783 (closed) Fixes: #19763 (closed)

This moves the burden of decorating error stacks to TryCatch, which is always used in this case, so we know the stacks will always be decorated. I'm going to benchmark this soonish, and a bunch of message tests have to be updated

/cc @nodejs/diagnostics @nodejs/performance

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

Merge request reports

Loading