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

Bad error message for when compressing zip archive fails #298

Closed
marcospb19 opened this issue Oct 16, 2022 · 0 comments · Fixed by #299
Closed

Bad error message for when compressing zip archive fails #298

marcospb19 opened this issue Oct 16, 2022 · 0 comments · Fixed by #299
Labels
bug Something isn't working

Comments

@marcospb19
Copy link
Member

Version

bda6c27 (main branch)

Description

When compressing a Zip archive fails, the error message is terrible.

Current Behavior

$ ouch compress /tmp archive.zip
Do you want to overwrite 'asd.zip'? [Y/n] 
[ERROR] No such device or address (os error 6)

Expected Behavior

Should give the reason why IO failed, like compressing to Tar does:

$ ouch compress /tmp archive.tar
[ERROR] failed to open file `tmp/scoped_dirbOXtNO/SingletonSocket`

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant