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

Better error message when file not found #210

Closed
egrimley-arm opened this issue Jul 29, 2020 · 1 comment
Closed

Better error message when file not found #210

egrimley-arm opened this issue Jul 29, 2020 · 1 comment
Assignees

Comments

@egrimley-arm
Copy link
Collaborator

If the parsec binary finds that /tmp/parsec is missing it emits the error

Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }

If the parsec binary does not find ./config.toml it emits the same error

Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }

In both cases it would be helpful to mention which file or directory it was looking for (even though strace can answer that question quite quickly).

@ionut-arm ionut-arm self-assigned this Jul 29, 2020
@ionut-arm
Copy link
Member

I believe the /tmp/parsec problem is solved by #205 - I'll raise a PR shortly to make the error message for the config clearer.

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