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

Print error's backtraces #19

Open
loyd opened this issue Apr 23, 2022 · 0 comments
Open

Print error's backtraces #19

loyd opened this issue Apr 23, 2022 · 0 comments
Labels
A-core Area: The elfo-core crate. A-logger Area: The elfo-logger crate. C-enhancement Category: A PR with an enhancement or a proposed on in an issue.

Comments

@loyd
Copy link
Collaborator

loyd commented Apr 23, 2022

  • Custom eyre's handler that captures backtrace at the moment of error.
  • Remove all frames starting at the exec function to provide short traces.
  • Print error.stack = [...] in logger.
@loyd loyd added C-enhancement Category: A PR with an enhancement or a proposed on in an issue. A-core Area: The elfo-core crate. A-logger Area: The elfo-logger crate. labels Apr 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-core Area: The elfo-core crate. A-logger Area: The elfo-logger crate. C-enhancement Category: A PR with an enhancement or a proposed on in an issue.
Projects
None yet
Development

No branches or pull requests

1 participant