Skip to content

Commit

Permalink
Merge pull request #86 from input-output-hk/andrea/show-error
Browse files Browse the repository at this point in the history
Let curl show errors when something fails
  • Loading branch information
michaelpj committed Oct 13, 2023
2 parents cbd0c5d + b8d863d commit fe9187f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/Foliage/FetchURL.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fe9187f

Please sign in to comment.