Skip to content

Conversation

@abhilash-sivan
Copy link
Contributor

@abhilash-sivan abhilash-sivan commented Dec 10, 2025

refs https://jsw.ibm.com/browse/INSTA-63749

Extended the setErrorDetails function to the SDK module.

  • Now setErrorDetails handles custom key for setting the error
  • also removed getErrorDetails function as the usage is now removed

@abhilash-sivan abhilash-sivan marked this pull request as ready for review December 10, 2025 05:51
@abhilash-sivan abhilash-sivan requested a review from a team as a code owner December 10, 2025 05:51
expectations = expectations.concat([
span => expect(span.ec).to.equal(1),
span => expect(span.data.sdk.custom.tags.message).to.contain('Error: Boom!\n'),
span => expect(span.data.sdk.custom.tags.message).to.contain('packages/collector/test/tracing/sdk/app.js')
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed this check because earlier it was coming from getErrorDetails and this was substring of error.stack. Now this is only error.message and thus the app path is not available

@abhilash-sivan abhilash-sivan merged commit e9ca2aa into feat-stack-trace Dec 10, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants