curlie icon indicating copy to clipboard operation
curlie copied to clipboard

Details on error filtered out

Open hyperupcall opened this issue 5 years ago • 0 comments

curlie is fantastic, however sometimes it seems some errors are hidden. For example, curl shows:

$ command curl -OL https://get-ghcup.haskell.org | sh
curl: Remote file name has no length!
curl: (23) Failed writing received data to disk/application

But, curlie shows

$ curlie -OL https://get-ghcup.haskell.org | sh
curl: (23) Failed writing received data to disk/application

As I forgot I aliased curlie to curl, I assumed the error was something to do with my computer running out of storage, rather than the no-length remote file name or using the -O option on a file that didn't have the required metadata. Maybe the errors on curlie should match?

Regards Edwin

hyperupcall avatar Mar 26 '21 02:03 hyperupcall