Skip to content

Commit b8d863d

Browse files
committed
Let curl show errors when something fails
1 parent cbd0c5d commit b8d863d

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)