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

clean up unwraps and error messages #3

Open
cfal opened this issue Mar 27, 2023 · 2 comments
Open

clean up unwraps and error messages #3

cfal opened this issue Mar 27, 2023 · 2 comments

Comments

@cfal
Copy link
Owner

cfal commented Mar 27, 2023

there's quite a few places where we could be handling errors more gracefully, eg

$ ./shoes
No config specified, assuming loading from file config.shoes.yaml
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error { kind: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" }), paths: ["/home/jkl/shoes-async/config.shoes.yaml"] }', src/main.rs:71:14
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
@18o
Copy link
Contributor

18o commented Aug 9, 2024

do you accept PR?

@cfal
Copy link
Owner Author

cfal commented Aug 27, 2024

all contributions are welcome :)

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

No branches or pull requests

2 participants