Show more detailed errors during diff validation.

Review Request #7857 — Created Jan. 9, 2016 and submitted — Latest diff uploaded

Information

Review Board
release-2.6.x

Reviewers

We have some cases where a diff doesn't validate due to an uncaught
exception or a repository error. A more specific message was stored in
the 'reason' field, but the general error was still that the diff didn't
validate.

We now use the actual exception message as the error message, helping
clients display the correct thing.

Simulated these exceptions server-side (and tested with invalid licenses
in Power Pack), and saw the correct error messages in RBTools.