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

NewRelicContextFormatter: Add cause and context to stack traces #1270

Closed
sweco opened this issue Dec 11, 2024 · 1 comment
Closed

NewRelicContextFormatter: Add cause and context to stack traces #1270

sweco opened this issue Dec 11, 2024 · 1 comment
Milestone

Comments

@sweco
Copy link
Contributor

sweco commented Dec 11, 2024

Is your feature request related to a problem? Please describe.

When working with the NewRelicContextFormatter, the stack trace cause and context are not included in the data logged to NewRelic. This makes it impossible to debug some errors, e.g. errors that happen while FastAPI is streaming the response with the StreamingResponse. Currently the stack trace stop at:

exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)

but the sub-exception (which is where the stream crashed) is never printed.

Feature Description

Add context and cause to stack traces.

Describe Alternatives

N/A

Additional context

Already created a PR (#1266), could you please review?

Priority

Must Have

@workato-integration
Copy link

@TimPansino TimPansino added this to the v10.5.0 milestone Jan 29, 2025
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

No branches or pull requests

2 participants