Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add suppressed exceptions to ThrowableError.stackTrace #405

Merged
merged 2 commits into from
Nov 19, 2021

Conversation

dkarlinsky
Copy link
Contributor

Overview

Adds suppressed exceptions (Throwable.getSuppressed()) to stack traces extracted from Throwables

Related Github Issue

This resolves #399

Testing

The agent includes a suite of tests which should be used to
verify your changes don't break existing functionality. These tests will run with
Github Actions when a pull request is made. More details on running the tests locally can be found
here,

Checks

[ Yes ] Are your contributions backwards compatible with relevant frameworks and APIs?
[ No ] Does your code contain any breaking changes? Please describe.
[ No ] Does your code introduce any new dependencies? Please describe.

@CLAassistant
Copy link

CLAassistant commented Sep 4, 2021

CLA assistant check
All committers have signed the CLA.

@kford-newrelic
Copy link
Contributor

Thank you for the contribution @dkarlinsky - we will be reviewing this for an upcoming release

@kford-newrelic kford-newrelic moved this from Triage to To do in Java Engineering Board Nov 17, 2021
@kford-newrelic kford-newrelic moved this from To do to In progress in Java Engineering Board Nov 17, 2021
@jasonjkeller
Copy link
Contributor

jasonjkeller commented Nov 17, 2021

Branch rebased against main for running internal tests: https://github.com/newrelic/newrelic-java-agent/tree/pr-405

AITs: 🟢 (ignoring one unrelated flicker)
Tests passed on PR rebased against main: #562

Copy link
Contributor

@jasonjkeller jasonjkeller left a comment

Choose a reason for hiding this comment

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

LGTM!

@jasonjkeller jasonjkeller merged commit 889398c into newrelic:main Nov 19, 2021
Java Engineering Board automation moved this from In progress to Done Nov 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

ThrowableError.stackTrace() result should include suppressed exceptions
4 participants