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 · 1 comment
Open

clean up unwraps and error messages #3

cfal opened this issue Mar 27, 2023 · 1 comment

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

18o commented Aug 9, 2024

do you accept PR?

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