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

Use alternate display to log anyhow error #3204

Merged
merged 1 commit into from
May 21, 2024
Merged

Use alternate display to log anyhow error #3204

merged 1 commit into from
May 21, 2024

Conversation

jbearer
Copy link
Member

@jbearer jbearer commented May 21, 2024

This PR:

Uses the alternative display format ({:#}) to log an anyhow error. The default display (which tracing supports for event fields) only shows the most recent context(...) instead of the full chain of error causes.

This PR does not:

Key places to review:

@jbearer jbearer merged commit 9d72ccf into main May 21, 2024
24 checks passed
@jbearer jbearer deleted the jb/logging branch May 21, 2024 19:26
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.

None yet

3 participants