movine icon indicating copy to clipboard operation
movine copied to clipboard

Very generic error "No such file or directory"

Open meh opened this issue 3 years ago • 2 comments

[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? :panda_face:

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

meh avatar May 25 '21 16:05 meh

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

meh avatar May 26 '21 13:05 meh

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!

byronwasti avatar May 27 '21 00:05 byronwasti