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

Errors: Better formatting for anyhow/ contexts and thiserror backtraces #455

Open
2 tasks
zeeshanlakhani opened this issue Nov 28, 2023 · 0 comments
Open
2 tasks
Labels
enhancement New feature or request

Comments

@zeeshanlakhani
Copy link
Contributor

zeeshanlakhani commented Nov 28, 2023

Summary

We need a better way for anynow::Context and backtraces, related to our use of thiserror to be displayed as part of logfmt logs.

Some of the thiserror bracktrace features hit on nightly only, sadly: dtolnay/thiserror#236.

Components

  • Use anyhow::context more judiciously for error handling contextual information.
  • Handle backtraces in logs and other formatting concerns for logfmt.
@zeeshanlakhani zeeshanlakhani added the enhancement New feature or request label Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant