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

Very generic error "No such file or directory" #19

Open
meh opened this issue May 25, 2021 · 2 comments
Open

Very generic error "No such file or directory" #19

meh opened this issue May 25, 2021 · 2 comments

Comments

@meh
Copy link

meh commented May 25, 2021

[devshell] query/service $ movine status
Error: IO Error: No such file or directory (os error 2)

What is this trying to tell me and how can I debug it? 🐼

I tried adding RUST_LOG=debug but that didn't help.

@meh
Copy link
Author

meh commented May 26, 2021

Oh, got it, it's what happens when a file is missing in the migration directory.

@byronwasti
Copy link
Owner

Yeah the default IO error isn't particularly descriptive. I will look into making the error handling here return something nicer to work with. Thanks for the bug!

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