It truncates the error cause lines
// app.js
require('source-map-support').install();
throw new Error('test 123', { cause: new Error('foo') })
current behavior

expected behavior

note that it's truncating the last lines
version
- package:
0.5.21
- nodejs: 22
that's because the line bellow won't display the cause as it doesn't belongs to the stack trace:
|
console.error(error.stack); |
It truncates the error cause lines
current behavior
expected behavior
note that it's truncating the last lines
version
0.5.21that's because the line bellow won't display the cause as it doesn't belongs to the stack trace:
node-source-map-support/source-map-support.js
Line 499 in 7b5b81e