]> khamidou — GitHub mirrors - arcanist.git/commit
If a `PhutilProxyException` is thrown by Arcanist, print all error messages.
authorJoshua Spence <josh@joshuaspence.com>
Mon, 23 Jun 2014 23:24:00 +0000 (09:24 +1000)
committerJoshua Spence <josh@joshuaspence.com>
Mon, 23 Jun 2014 23:24:00 +0000 (09:24 +1000)
commit69cd86fa4f3e8c01ed4a242f28d3343699417762
treec0cbf93b9e88c2bebd8b848be25f3650312cf298
parentc727a98f7340e1059ccebdf69a02bdada353fba4
If a `PhutilProxyException` is thrown by Arcanist, print all error messages.

Summary: `PhutilProxyException` provides the capability to nest exceptions. However, if we throw a `PhutilProxyException` then we currently only display the error message from the top-most exception. Instead, we should print all of the nested exception messages.

Test Plan: Faked an error, saw multiple lines of exception messages.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9697
scripts/arcanist.php