-
Notifications
You must be signed in to change notification settings - Fork 1
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
Stack trace on error #9
Comments
An idea to improve: https://github.com/dtolnay/anyhow |
This affects the pilots in the first place, podman-pilot, firecracker-pilot |
schaefi
added a commit
that referenced
this issue
Aug 29, 2023
Added FlakeError for this condition. Related to Issue #9
stack trace on error would be nice, but since there is no panic() but error handling up to main it's not so easy to generally create useful trace info |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Improve on Error handling
In the beginning errors to the project were always a panic() which leads to interruption at this stage in the code and a stack trace like information. This was not the best solution but it provided exact details about the error and where it happened in the code. With the code changing towards an error reporting up to the main function the information about where in the code something was wrong got lost. In addition the resulting error messages are sometimes unexpressively
Acceptance Criteria
The text was updated successfully, but these errors were encountered: