]> khamidou — GitHub mirrors - arcanist.git/commit
Catch "ConduitClientException", not "Exception", in "arc patch"
authorepriestley <git@epriestley.com>
Wed, 7 Mar 2012 04:14:34 +0000 (20:14 -0800)
committerepriestley <git@epriestley.com>
Wed, 7 Mar 2012 04:14:34 +0000 (20:14 -0800)
commit2c26304dd288c8b846647fdf9990ac38c7c4b08f
tree6f0b22bab46b24472fbfdda230c4b0e8021113bc
parent81019a790ee74cd3bd6bd6ea076da47ddc871ae8
Catch "ConduitClientException", not "Exception", in "arc patch"

Summary: This may raise other types of exceptions, e.g. http/network exceptions, where getErrorCode() is not defined.

Test Plan: Reasoned about beahvior.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran, epriestley
Differential Revision: https://secure.phabricator.com/D1804
src/workflow/patch/ArcanistPatchWorkflow.php