microsoft / microsoft/ApplicationInsights-node.js
request: first class support for Error.cause and exception logging
Open
@JacksonWeber is already working on this.
Since Jan 29, 2025.
feature-request
- Dominant language
- TypeScript
- Stars
- 332
- Forks
- 146
- Avg merge
- 12h 7m
- Merged PRs (30d)
- 2
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.