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

Improve error output #4

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

TheSignPainter98
Copy link
Contributor

Currently, if bundle.yml is missing, the output reads something like no such file or directory (os error 2), without stating the name of the file which is missing. This PR proposes using thiserror to wrap std::io::Error and other errors into a single Error type. The main function is also slightly tweaked to ensure that errors are printed as text (rather than Debug::fmt'd Rust values)

@TheSignPainter98 TheSignPainter98 marked this pull request as ready for review June 5, 2024 18: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.

1 participant