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

feat: Support errors in tracing integration (NATIVE-310) #412

Merged
merged 11 commits into from
Jan 20, 2022

Conversation

Swatinem
Copy link
Member

This supercedes #359 and merges it with the latest changes to the tracing integration.

It also adds another test for capturing &dyn Error via tracing::error!(), which this should all be about.

seanpianka and others added 11 commits November 27, 2021 18:27
This change will build an exception differently than event. It will look
for two hardcoded keys in the "extras" of an event:
1. "error_kind" - this is optional and defaults to "Unknown"
2. "error" - this is optional and defaults to the event's message

Signed-off-by: Sean Pianka <[email protected]>
refactor: reduce public api surface
refactor: rename visitor type
refactor: re-use parent context/transaction handling
chore: reorder trait impl to match trait

Signed-off-by: Sean Pianka <[email protected]>
@Swatinem Swatinem requested a review from a team January 20, 2022 16:18
@Swatinem Swatinem merged commit 32a5860 into master Jan 20, 2022
@Swatinem Swatinem deleted the seanpianka-master branch January 20, 2022 17:00
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