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

Improve invalid source path error messages #1

Closed
chrissimpkins opened this issue Jul 23, 2021 · 2 comments · Fixed by #3
Closed

Improve invalid source path error messages #1

chrissimpkins opened this issue Jul 23, 2021 · 2 comments · Fixed by #3

Comments

@chrissimpkins
Copy link
Member

$ target/release/ufofmt 1 2 3 4 5
[ERROR] Read error in "4": Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[ERROR] Read error in "5": Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[ERROR] Read error in "3": Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[ERROR] Read error in "1": Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[ERROR] Read error in "2": Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
@chrissimpkins
Copy link
Member Author

linebender/norad#143

@chrissimpkins
Copy link
Member Author

With changes in #3:

target/release/ufofmt 1 2 3 4 5
[ERROR] "1" is not a valid UFO directory path
[ERROR] "2" is not a valid UFO directory path
[ERROR] "3" is not a valid UFO directory path
[ERROR] "4" is not a valid UFO directory path
[ERROR] "5" is not a valid UFO directory path

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

Successfully merging a pull request may close this issue.

1 participant