dd-trace-js icon indicating copy to clipboard operation
dd-trace-js copied to clipboard

[FEATURE]: Support for cause in error stack

Open wregis opened this issue 5 months ago • 1 comments

Package Name

No response

Package Version(s)

5.56.0

Describe the feature you'd like

When viewing error stack it would be nice to be able to see the complete stack. Currently only the top-level error is shown.

Since Node.js 16.9 exists the property cause for this.

Is your feature request related to a problem?

No response

Describe alternatives you've considered

No response

Additional context

Similar to other languages when an error is partially dealt with and then triggers another error, it is possible to implement such behaviour in Node.js.

wregis avatar Sep 01 '25 19:09 wregis

@wregis just a heads up: this is something I am looking into to add support for in a 'near' future. That said, it might not be available before next year.

BridgeAR avatar Nov 06 '25 02:11 BridgeAR