-
Notifications
You must be signed in to change notification settings - Fork 109
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
fix(NewRelicContextFormatter): add cause and context to stack traces #1266
base: main
Are you sure you want to change the base?
Conversation
|
We'll give this a review after the US holiday season is over, we're going to avoid the risk of changing anyone's logs during this time period. |
Overview
NewRelicContextFormatter
logs stack traces without causes which makes many errors hard to debug.Let's take a look at the following code:
Before the PR, the exception message looked as follows:
After the PR, it shows more details on the first cause:
Related Github Issue
No Github issue created.
Testing
Tests were updated to test a particular case where exception has a cause.