patch applied (cabal-install): Record and report the exceptions that cause build failure