Improve error printing in ghcup-gen

This commit is contained in:
Julian Ospald 2021-04-24 21:51:06 +02:00
parent 93cd421ca3
commit 5db43cd908
Signed by: hasufell
GPG Key ID: 3786C5262ECB4A3F

View File

@ -274,5 +274,5 @@ validateTarballs (TarballFilter tool versionRegex) dls = do
VRight Nothing -> pure ()
VLeft e -> do
lift $ $(logError)
[i|Could not download (or verify hash) of #{dli}, Error was: #{e}|]
[i|Could not download (or verify hash) of #{dli}, Error was: #{prettyShow e}|]
addError