Skip to content

request: first class support for Error.cause and exception logging #1411

@dhensby

Description

@dhensby

Node introduced support for the cause prop on Errors in node v16.9.0.

It would be great if the library could support parent exception details in a similar manner to the Java SDK so that there is proper use of the outer error in application insights.

At the moment I'm having to manually traverse the causes and log each of them separately

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions