microsoft / microsoft/ApplicationInsights-node.js

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

Open
#1,411 6 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.