diff --git a/Utility/Url.hs b/Utility/Url.hs index 4ab79e5a76..b10aba1c93 100644 --- a/Utility/Url.hs +++ b/Utility/Url.hs @@ -338,11 +338,9 @@ download' noerror meterupdate url file uo = (matchStatusCodeException (== found302)) (downloadConduit meterupdate req file uo >> return True) (followredir r) - `catchNonAsync` (dlfailed . show) (DownloadWithConduit (DownloadWithCurlRestricted r), Nothing) | isfileurl u -> downloadfile u | isftpurl u -> downloadcurlrestricted r u url ftpport - `catchNonAsync` (dlfailed . show) | otherwise -> unsupportedUrlScheme u dlfailed (DownloadWithCurl _, _) | isfileurl u -> downloadfile u