Closed
Description
As of Node.js v21.6.0, node's internal prepareStackTrace
function that handles source-map conversion for stack traces -- for the --enable-source-maps
CLI option -- is exposed (as Error.prepareStackTrace
).
That means that it should be possible chain our prepareStackTrace
handling (which we use for parsing details from an exception for error reporting), with the core Node.js one when the user has used this CLI option.