- Notifications
You must be signed in to change notification settings - Fork 41
Open
Labels
agent-nodejsMake available for APM Agents project planning.Make available for APM Agents project planning.community
Description
Now that Error.cause is somewhat standard, it's be great if the cause chain's stack traces would also be extracted when logging errors, sort of like the default .toString() of exceptions in Java.
From what I could gather in the code, only err.stack is extracted.
Looking at recent NodeJS docs, it does look like the internal formatter/inspector already handles the cause of an error when printing it.
branets-dasha, Anh-Duy-Tran, carvalhopat and fglsn
Metadata
Metadata
Assignees
Labels
agent-nodejsMake available for APM Agents project planning.Make available for APM Agents project planning.community