-
Notifications
You must be signed in to change notification settings - Fork 13
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
All write-related filesystem errors are being reported as "permission denied" #130
Comments
Dear @keichan34 and @miya0001 , Thank you very much for improving charites! I can use it by cloning the repository, but it would be easy for users to install via npm. Best regards, Taro Ubukawa |
Dear @keichan34 , |
Describe the bug
All write-related filesystem errors are being reported as "permission denied"
charites/src/lib/yaml-writer.ts
Lines 33 to 37 in 88c9215
To Reproduce
Run convert with a destination of a volume that is full or read-only
Expected behavior
A detailed error describing that the volume is full
Charites Version:
Desktop (please complete the following information):
Additional context
I think that the underlying error should be exposed instead of overwriting it. This has lead to confusing error reports: #56 , where the error reports "permission denied" when it should
ENOENT: no such file or directory
(that bug was because the parent directory wasn't being created, which throws the no such file or directory error)The text was updated successfully, but these errors were encountered: