Commit 563fcf9f authored by Duncan Coutts's avatar Duncan Coutts
Browse files

Display the exception for failed downloads

Not great but better than nothing.
parent 8ed1b9ad
......@@ -558,7 +558,8 @@ printBuildFailures plan =
printFailureReason reason = case reason of
DependentFailed pkgid -> " depends on " ++ display pkgid
++ " which failed to install."
DownloadFailed _ -> " failed while downloading the package."
DownloadFailed e -> " failed while downloading the package."
++ " The exception was:\n " ++ show e
UnpackFailed e -> " failed while unpacking the package."
++ " The exception was:\n " ++ show e
ConfigureFailed e -> " failed during the configure step."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment