Merge pull request #86 from input-output-hk/andrea/show-error

Let curl show errors when something fails
This commit is contained in:
Michael Peyton Jones 2023-10-13 09:53:28 +01:00 committed by GitHub
commit fe9187f563
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,6 +89,8 @@ runCurl uri path etagFile = do
[ "curl"
, -- Silent or quiet mode. Do not show progress meter or error messages. Makes Curl mute.
"--silent"
, -- ... but still show errors
"--show-error"
, -- Fail fast with no output at all on server errors.
"--fail"
, -- If the server reports that the requested page has moved to a different location this