-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
feat(runtime): improve error messages of runtime fs #11984
Conversation
The tests failed because the |
I'll prefer the latter approach: write the error message for every fs method manually. |
I agree, message should be written manually. |
9146b06
to
9bbd019
Compare
9bbd019
to
e1cd5ea
Compare
@bartlomieju I already add path info to all I don't known how to add path info to |
The PR looks good! I'm sure there will be some bike-shedding regarding what errors should print exactly, but it's not a big deal.
Permission errors coming from Would be great to see some updated to the unit tests that call |
@bartlomieju nope, it looks good to me other than the tests. |
@bartlomieju sorry for slow reply. I am on the holiday. I will update the unit tests when i am back. |
@bartlomieju I will back 2 days later. If you hurry, You can pick up and update the unit tests. |
It's fine, enjoy your holiday :) |
f8a4d17
to
8ac835b
Compare
8ac835b
to
a048986
Compare
@F3n67u this is close to landing, there are two failures in tests on Windows. |
@bartlomieju Those two fail is fixed and test is included. ready to review again. |
Tried it locally:
I think the messages could be improved further, but this is way better than current situation. Let's land it and improve messages in upcoming releases. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @F3n67u!
fix #10553
related pr: #10642
output: