mirror of
https://github.com/input-output-hk/foliage.git
synced 2024-09-11 20:27:09 +03:00
Let curl show errors when something fails
This commit is contained in:
parent
cbd0c5da8f
commit
b8d863daab
@ -89,6 +89,8 @@ runCurl uri path etagFile = do
|
|||||||
[ "curl"
|
[ "curl"
|
||||||
, -- Silent or quiet mode. Do not show progress meter or error messages. Makes Curl mute.
|
, -- Silent or quiet mode. Do not show progress meter or error messages. Makes Curl mute.
|
||||||
"--silent"
|
"--silent"
|
||||||
|
, -- ... but still show errors
|
||||||
|
"--show-error"
|
||||||
, -- Fail fast with no output at all on server errors.
|
, -- Fail fast with no output at all on server errors.
|
||||||
"--fail"
|
"--fail"
|
||||||
, -- If the server reports that the requested page has moved to a different location this
|
, -- If the server reports that the requested page has moved to a different location this
|
||||||
|
Loading…
Reference in New Issue
Block a user