From e0675b28d8e60d5b08c7dd26005c5d1efc5219b2 Mon Sep 17 00:00:00 2001 From: Josh Cox Date: Wed, 8 Feb 2017 13:13:32 -0500 Subject: [PATCH] Pass exception to PhutilProxyException Summary: Fixes T12243. That error occured due to network flakiness with some mounted filesystems so I'm not sure how best to simulate it. But you can look and see that the PhutilProxyException does indeed expect an exception as its second arg. Test Plan: Look at method signature... look at callsite... now back at the method. Smile and nod. Reviewers: #blessed_reviewers, yelirekim, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley Maniphest Tasks: T12243 Differential Revision: https://secure.phabricator.com/D17335 --- .../diffusion/protocol/DiffusionRepositoryClusterEngine.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/applications/diffusion/protocol/DiffusionRepositoryClusterEngine.php b/src/applications/diffusion/protocol/DiffusionRepositoryClusterEngine.php index 4bb9ca6255..e87c798e28 100644 --- a/src/applications/diffusion/protocol/DiffusionRepositoryClusterEngine.php +++ b/src/applications/diffusion/protocol/DiffusionRepositoryClusterEngine.php @@ -335,7 +335,8 @@ final class DiffusionRepositoryClusterEngine extends Phobject { pht( 'Failed to acquire write lock after waiting %s second(s). You '. 'may be able to retry later.', - new PhutilNumber($lock_wait))); + new PhutilNumber($lock_wait)), + $ex); } $versions = PhabricatorRepositoryWorkingCopyVersion::loadVersions(