integrity/integrity — pull request #131 by richmeyers (2011-10-18 03:17:04+00:00)
Title: Improve handling of exceptions during build, make builds fail when exceptions happen

This should cover most if not all of #98.

Attached are a number of changes improving error reporting of exceptions that happen in integrity itself. Previously if a launched command failed the build would fail, but if an exception was triggered in integrity for any reason (including commands that prepare the build repository failing, vs the actual build command) the build would remain "pending" forever and the only problem report, and a rather concise one at that, would be dumped in integrity log file.

Changes made:

- show backtraces in various places
- fail builds due to exceptions
- store exception message + backtrace as build output
- show exception message + backtrace in ui