Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: catch exceptions setting Error.stackTraceLimit (#5254)
When node is run with [--frozen-intrinsics], a `TypeError` is thrown when any intrinsic objects or their properties are modified. This occurs when attempting to set `Error.stackTraceLimit`. To avoid exiting due to an uncaught exception, catch the exception, debug log it, and continue. [--frozen-intrinsics]: https://nodejs.org/api/cli.html#--frozen-intrinsics Signed-off-by: Kevin Locke <[email protected]>
- Loading branch information