Skip to content

Commit

Permalink
Let curl show errors when something fails
Browse files Browse the repository at this point in the history
  • Loading branch information
andreabedini committed Oct 13, 2023
1 parent cbd0c5d commit b8d863d
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 b8d863d

Please sign in to comment.