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

Make curl not swallow errors #2128

Merged
merged 1 commit into from
Dec 15, 2023
Merged

Make curl not swallow errors #2128

merged 1 commit into from
Dec 15, 2023

Conversation

fkrull
Copy link
Contributor

@fkrull fkrull commented Sep 29, 2023

By default, curl doesn't handle 4xx and 5xx specially, it will just download the body of the error response. The --fail parameter is necessary to make it exit with a nonzero status code so download errors don't get silently swallowed.

@austin987 austin987 merged commit 88643d0 into Winetricks:master Dec 15, 2023
5 checks passed
@fkrull fkrull deleted the fix-curl-error-handling branch March 22, 2024 18:55
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