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 for unsupported compression algorithm #87

Merged
merged 1 commit into from
May 19, 2020

Conversation

marcosfrm
Copy link
Contributor

No description provided.

@fdupoux
Copy link
Owner

fdupoux commented May 18, 2020

Assuming an archive is created using a new version which supports a new compression algorithm and you try to restore using an old version which does not support it. As the old verison does not know this algorithm the compalgostr() function will always return "unknown" and it really does not help. So it's better to simply print the ID of the compression algorithm, so at least you can look it up in the source code if you really need to know which algorithm it is.

@marcosfrm
Copy link
Contributor Author

Right. First message polished and casts removed.

@fdupoux fdupoux merged commit 1ad53a4 into fdupoux:master May 19, 2020
@marcosfrm marcosfrm deleted the compress-msg branch June 6, 2021 18:52
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 this pull request may close these issues.

2 participants