0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/message/source_map_throw_catch.js
bcoe e1e2f669f6
process: add source-map support to stack traces
PR-URL: https://github.com/nodejs/node/pull/29564
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2019-10-05 17:08:00 -07:00

12 lines
201 B
JavaScript

// Flags: --enable-source-maps
'use strict';
require('../common');
try {
require('../fixtures/source-map/typescript-throw');
} catch (err) {
setTimeout(() => {
console.info(err);
}, 10);
}