Record and report the exceptions that cause build failure When installing a bunch of package we have to catch exceptions since we carry on building other packages that did not depend on the failing package. We were recording what phase the failure was in but not the actual exception. We now record that too and print it along with the more general explanation of what package failed and in which phase. It's not perfect, eg when a package fails to compile we end up printing that the exception was "ExitFailure 1" which is not very useful.
Record and report the exceptions that cause build failure
When installing a bunch of package we have to catch exceptions since
we carry on building other packages that did not depend on the
failing package. We were recording what phase the failure was in but
not the actual exception. We now record that too and print it along
with the more general explanation of what package failed and in
which phase. It's not perfect, eg when a package fails to compile we
end up printing that the exception was "ExitFailure 1" which is not
very useful.

plumlife/cabal,Peaker/cabal,martinvlk/cabal,trskop/cabal,sopvop/cabal,Heather/cabal,gbaz/cabal,sopvop/cabal,fugyk/cabal,Peaker/cabal,rimmington/cabal,mmakowski/cabal,christiaanb/cabal,christiaanb/cabal,lukexi/cabal,themoritz/cabal,headprogrammingczar/cabal,bennofs/cabal,garetxe/cabal,eric-stanley/cabal,martinvlk/cabal,mmakowski/cabal,kolmodin/cabal,gbaz/cabal,rimmington/cabal,kolmodin/cabal,plow-technologies/cabal,x-y-z/cabal,alphaHeavy/cabal,ghc-android/cabal,sopvop/cabal,enolan/cabal,beni55/cabal,bennofs/cabal,fugyk/cabal,ian-ross/cabal,x-y-z/cabal,typelead/epm,gridaphobe/cabal,thoughtpolice/cabal,anton-dessiatov/cabal,kosmikus/cabal,gridaphobe/cabal,edsko/cabal,mydaum/cabal,garetxe/cabal,alphaHeavy/cabal,mydaum/cabal,mightybyte/cabal,typelead/epm,ian-ross/cabal,anton-dessiatov/cabal,corngood/cabal,mightybyte/cabal,kosmikus/cabal,trskop/cabal,valderman/cabal,fpco/cabal,thomie/cabal,themoritz/cabal,Heather/cabal,thoughtpolice/cabal,beni55/cabal,randen/cabal,edsko/cabal,corngood/cabal,enolan/cabal,plow-technologies/cabal,fpco/cabal,triplepointfive/cabal,themoritz/cabal,valderman/cabal,lukexi/cabal,ghc-android/cabal,seereason/cabal,triplepointfive/cabal,thomie/cabal,Helkafen/cabal,randen/cabal,eric-stanley/cabal,Helkafen/cabal,plumlife/cabal,seereason/cabal,headprogrammingczar/cabal