Skip to content

Commit fe9187f

Browse files
authored
Merge pull request #86 from input-output-hk/andrea/show-error
Let curl show errors when something fails
2 parents cbd0c5d + b8d863d commit fe9187f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/Foliage/FetchURL.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ runCurl uri path etagFile = do
8989
[ "curl"
9090
, -- Silent or quiet mode. Do not show progress meter or error messages. Makes Curl mute.
9191
"--silent"
92+
, -- ... but still show errors
93+
"--show-error"
9294
, -- Fail fast with no output at all on server errors.
9395
"--fail"
9496
, -- If the server reports that the requested page has moved to a different location this

0 commit comments

Comments
 (0)