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); |